Fossil

Check-in [aa66767b]
Login

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

Overview
Comment:Fix another problem with lappend and taint. See forum post 94b7485f4 for a description of the problem.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: aa66767bac78b2b007899f0d7ca0664ae1e05f232cc233bb977f47f669c5c3fa
User & Date: drh 2025-04-22 19:34:14.316
Context
2025-04-23
10:46
When emitting the default password as part of the 'new' command, add the term 'remote-access' to it to clarify that it's only for remote use. Indirectly suggested by forum post 9dbd8e00ee. ... (check-in: 57276a51 user: stephan tags: trunk)
2025-04-22
19:34
Fix another problem with lappend and taint. See forum post 94b7485f4 for a description of the problem. ... (check-in: aa66767b user: drh tags: trunk)
18:18
Fix [fab9f0047720721e] so that it works on repositories that do not have the tkt_ctime column in the TICKET table definition. ... (check-in: 6476f287 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/th.c.
1792
1793
1794
1795
1796
1797
1798
1799
1800


1801
1802
1803
1804
1805
1806
1807
  int i;

  int hasSpecialChar = 0;  /* Whitespace or {}[]'" */
  int hasEscapeChar = 0;   /* '}' without matching '{' to the left or a '\\' */
  int nBrace = 0;

  output.zBuf = *pzList;
  output.nBuf = *pnList;
  output.nBufAlloc = output.nBuf;



  if( nElem<0 ){
    nElem = th_strlen(zElem);
  }else{
    nElem = TH1_LEN(nElem);
  }
  if( output.nBuf>0 ){







|

>
>







1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
  int i;

  int hasSpecialChar = 0;  /* Whitespace or {}[]'" */
  int hasEscapeChar = 0;   /* '}' without matching '{' to the left or a '\\' */
  int nBrace = 0;

  output.zBuf = *pzList;
  output.nBuf = TH1_LEN(*pnList);
  output.nBufAlloc = output.nBuf;
  output.bTaint = 0;
  TH1_XFER_TAINT(output.bTaint, *pnList);

  if( nElem<0 ){
    nElem = th_strlen(zElem);
  }else{
    nElem = TH1_LEN(nElem);
  }
  if( output.nBuf>0 ){