Differences From Artifact [9e2e6cafcf]:
- File src/shell.c — part of check-in [6fce6fc256] at 2014-01-11 18:07:09 on branch branch-1.28 — Revert [77d37d910b], which restores the "fossil sqlite3" command as it was. On trunk it doesn't work, but in branch 1.28 it works fine, because the source_id's always match (SQLite 3.8.2 is the only stable version supported. Just to be sure, disable the source_id check anyway: Fossil itself already has the necessary check. (user: jan.nijtmans size: 111601)
To Artifact [5d7548ca5f]:
- File src/shell.c — part of check-in [a12b9c4533] at 2014-01-14 08:29:47 on branch branch-1.28 — Cherrypick SQLite [http://www.sqlite.org/src/info/ac15455abc|ac15455abc]: In the command-line shell, defend against a NULL-pointer dereference in the case where sqlite3_column_name() returns NULL (as might happen following an OOM error) (user: jan.nijtmans size: 111622)
| ︙ | ︙ | |||
593 594 595 596 597 598 599 600 601 602 603 604 605 606 |
/*
** Output the given string with characters that are special to
** HTML escaped.
*/
static void output_html_string(FILE *out, const char *z){
int i;
while( *z ){
for(i=0; z[i]
&& z[i]!='<'
&& z[i]!='&'
&& z[i]!='>'
&& z[i]!='\"'
&& z[i]!='\'';
| > | 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 |
/*
** Output the given string with characters that are special to
** HTML escaped.
*/
static void output_html_string(FILE *out, const char *z){
int i;
if( z==0 ) z = "";
while( *z ){
for(i=0; z[i]
&& z[i]!='<'
&& z[i]!='&'
&& z[i]!='>'
&& z[i]!='\"'
&& z[i]!='\'';
|
| ︙ | ︙ |