Overview
| Artifact ID: | f190a7168347385030543e97cd56a4e0db82d9e3 |
|---|---|
| Ticket: | 2562113fffffffffffffffffffffffffffffffff
strlen() audit |
| User & Date: | dgp on 2009-02-03 21:20:19 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
dgphmmm... these days strlen() returns a size_t, doesn't it? gpsyes dgpso everywhere we have dgpint numBytes = strlen(bytes); dgpwe've got the potential for a value Tcl can't handle ƎƎisn't size_t supposed to be a large unsigned type? (or am I misremembering?) dgpAIUI, size_t is an unsigned integral type.... dgp...with enough range to hold the size of anything held in memory. jenglishdgp - yes, but that's still safe as long as bytes == objPtr->bytes or something else that came from ckalloc(). ƎƎyeah. typically equivalent to unsigned long long, I think. (but not guaranteed) dgpah, jenglish, thanks; that should help quite a bit
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "None"
- title changed to: "strlen() audit"
- type changed to: "Bug"