Skip to content
Tcl Source Code History Of Ticket d4ede611a7a7c802
Login

History Of Ticket d4ede611a7a7c802

Artifacts Associated With Ticket d4ede611a7a7c802

  1. Ticket change [a47396a4c1] (rid 212117) by apnadkarni on 2023-04-09 23:50:16:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      ```
      % set s [string repeat x 0x100000000] ; string length $s
      4294967296
      % string length [scan $s %s]
      4294967295
      ```
      
    5. foundin initialized to: "9.0"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "18. Commands M-Z"
    15. title initialized to: "scan %s truncates strings at UINT_MAX"
    16. type initialized to: "Bug"
  2. Ticket change [e26943061d] (rid 212658) by apnadkarni on 2023-04-12 16:17:40:

    1. assignee changed to: "apnadkarni"
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  3. Ticket change [a054ea6b05] (rid 213636) by apnadkarni on 2023-04-22 18:00:34:

    1. icomment:
      Other issues with scan.
      
      Large positional qualifiers.
      
      ```
      scan abc {%2147483648$s} -> memory access violation
      ```
      
      Large width specifiers are truncated.
      
      ```
      % set s [testbigdata string 0x10000000a]; string length $s
      4294967306
      % scan $s %4294967300s%s x y
      2
      % string length $y
      11
      % string length $x
      4294967295
      ```
      
    2. login: "apnadkarni"
    3. mimetype: "text/x-markdown"
  4. Ticket change [1e51d5fc46] (rid 213782) by apnadkarni on 2023-04-24 14:52:43:

    1. closedate changed to: "2460059.11994412"
    2. closer changed to: "apnadkarni"
    3. icomment: "Fixed in [acaa559a27]."
    4. login: "apnadkarni"
    5. mimetype: "text/x-fossil-plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
  5. Ticket change [af150b5d84] (rid 213942) by chrstphrchvz on 2023-04-27 07:10:08:

    1. closedate changed to: "2460061.79870972"
    2. closer changed to: "chrstphrchvz"
    3. icomment:
      <tt>scan abc {%2147483648$s}</tt> crashes on 8.6 and 8.7 as well. Can the fix and scan-19.3 be backported?
      
    4. login: "chrstphrchvz"
    5. mimetype: "text/x-fossil-wiki"
  6. Ticket change [daca82a33a] (rid 213955) by apnadkarni on 2023-04-27 13:47:21:

    1. closedate changed to: "2460062.0745563"
    2. closer changed to: "apnadkarni"
    3. icomment:
      The back porting to 8.6/8.7 has relevance to all the "bigdata" tests and fixes, not just this one. In fact it also has relevance to 32-bit Tcl9.
      
      However, these tests and fixes target bugs that are present for arguments with lengths that are valid for the build in question. So for 64-bit builds in Tcl9, 0x100000000 is a valid string / list length and that is what these tests and fixes address.
      
      In particular, tests for lengths that are not supported by the build comprise a different set of tests and are harder to construct. They would be more appropriate for the 8.x series.
      
      Also, given limited time and resources, I personally do not plan on spending any time making the 8.x series robust dealing with large data. I see that time better spent on 9.x.
      
      So, the short answer after a long rationalization :-), no I'm not planning on a back port.
      
    4. login: "apnadkarni"
    5. mimetype: "text/x-markdown"
  7. Ticket change [63f6e18975] (rid 213961) by jan.nijtmans on 2023-04-27 13:56:49:

    1. closedate changed to: "2460062.08112667"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      > Can the fix and scan-19.3 be backported?
      
      Anyone can implement/propose a backport for this fix to 8.6/8.7.
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/plain"