Fossil

Check-in [a49ef37865]
Login

Check-in [a49ef37865]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make sure the /uv webpage returns a sensible error if the unversioned table does not exist.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a49ef3786563a0c90aa498a364f1811bc676eae4eb26f01cf1b16904df13d310
User & Date: drh 2017-06-19 01:55:48.102
Context
2017-06-20
13:35
On unix, use setrlimit() to limit total heap space usage to 1GB on 32-bit systems and 10GB on 64-bit systems, and total stack space to 2MB, as a proactive defense again the "stack clash" vulnerability found on many unix-like OSes. I do not yet know if these limits are reasonable. ... (check-in: 6e6e4b1d26 user: drh tags: trunk)
2017-06-19
01:55
Make sure the /uv webpage returns a sensible error if the unversioned table does not exist. ... (check-in: a49ef37865 user: drh tags: trunk)
2017-06-16
11:38
Add -DSQLITE_OMIT_GET_TABLE to the compilation flags for SQLite ... (check-in: 33a13b80e7 user: jan.nijtmans tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/doc.c.
634
635
636
637
638
639
640

641

642
643
644
645
646
647
648
          goto doc_not_found;
        }
      }else{
        goto doc_not_found;
      }
    }
    if( isUV ){

      if( unversioned_content(zName, &filebody)==0 ){

        rid = 1;
        zDfltTitle = zName;
      }
    }else if( fossil_strcmp(zCheckin,"ckout")==0 ){
      /* Read from the local checkout */
      char *zFullpath;
      db_must_be_within_tree();







>
|
>







634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
          goto doc_not_found;
        }
      }else{
        goto doc_not_found;
      }
    }
    if( isUV ){
      if( db_table_exists("repository","unversioned")
       && unversioned_content(zName, &filebody)==0 
      ){
        rid = 1;
        zDfltTitle = zName;
      }
    }else if( fossil_strcmp(zCheckin,"ckout")==0 ){
      /* Read from the local checkout */
      char *zFullpath;
      db_must_be_within_tree();