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.