|
2025-03-14
| ||
| 18:54 | • Closed ticket [e23e40222e]: HashString() signature plus 6 other changes artifact: 9c01a29f67 user: dgp | |
| 18:53 | [e23e40222e] Revise HashString() to expect a Tcl_Size length argument check-in: baac7ac891 user: dgp tags: trunk, main | |
|
2025-03-04
| ||
| 20:48 | • Ticket [e23e40222e] HashString() signature status still Open with 3 other ch... artifact: 33637cb709 user: dgp | |
| 20:46 | [e23e40222e] Revise HashString() to expect a Tcl_Size length argument closed check-in: b22ef47e31 user: dgp tags: bug-e23e40222e | |
| 20:40 | • New ticket [e23e40222e] HashString() signature. artifact: 6498a8544c user: dgp | |
HashString() signature
Closed / Acceptede23e40222e904075f782726f11cddefbd2191fb5Created 2 years agoUpdated 2 years ago
Descriptionplain2025-03-04 20:40:39
Every caller of the routine HashString() in tclLiteral.c passes a length value of type Tcl_Size. Yet the signature expects an argument of type size_t. Seems to me the signature is wrong, and some housekeeping never got completed in the development of Tcl 9.
Referenced by2
baac7ac891[e23e40222e] Revise HashString() to expect a Tcl_Size length argument check-in2025-03-14 18:53:49b22ef47e31[e23e40222e] Revise HashString() to expect a Tcl_Size length argument check-in2025-03-04 20:46:16
dgpplain2025-03-04 20:48:23
Simple change is on a branch for another set of eyes to review and either accept, or record the reason it's not the right idea.
dgpplain2025-03-14 18:54:15
No interest in examining, so applied to trunk to force discovery of any problems.
Log in (anonymous is fine) to add a comment.