Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-05-01
03:57 • Closed ticket [2994924fff]: UpdateStringOfByteArray lacks overflow protection</i... artifact: 40236632ac user: dgp
03:46 • Ticket [2994924fff]: 5 changes artifact: b05376b6c3 user: dgp
03:14 • Ticket [2994924fff]: 4 changes artifact: b709749b56 user: dgp
2010-04-30
19:33 • New ticket [2994924fff]. artifact: af6bb8f681 user: dgp

UpdateStringOfByteArray lacks overflow protection

Closed / Fixed2994924fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2010-04-30 19:33:37
% set s [binary format a[expr 0x7ffffffe] \u0001]; concat
% set t [binary format a2 \u0001]

% append s $t; concat
UpdateStringProc for type 'bytearray' failed to create a valid string rep
dgpplain2010-05-01 03:14:08
 oops

[binary format a] does not do what I thought it did.
dgpplain2010-05-01 03:46:08
so I didn't get the bug I went looking for, but
another one instead.
dgpplain2010-05-01 03:57:45
allow_comments - 1

fixed on HEAD and 8.5
Log in (anonymous is fine) to add a comment.