Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0a294c5250262af11fac1dfd935053c6ef99ff34
Ticket: 6015221f59fd742aac833c7a4521de9745c8c868
binary scan segfaults when too much a is requested
User & Date: sebres on 2017-05-03 09:29:25
Changes

  1. assignee changed to: "sebres"
  2. foundin changed to: ">= 8.5 (*nix only)"
  3. icomment:
    I guess something like this in GetFormatSpec would be more appreciated:
    ```
    if (*countPtr) < 0 {
      countPtr = BINARY_ALL;
    }
    ```
    According to documentation "count is a non-negative decimal integer", so I think in this case BINARY_ALL is a little bit better as boom.
    
    If no objections I would fix it this way in all 3 major branches (including test cases).
    
    BTW. Strange is, that at all not reproduceable under windows (neither x86 nor x64), but pretty segfaulting on linux in all versions.
    
  4. login: "sebres"
  5. mimetype: "text/plain"
  6. priority changed to: "7 High"
  7. severity changed to: "Critical"