Message218898
Tkinter converts str argument to C string and then pass it to Tcl. But Tcl handles string length as int and it can overflow if strlen() returns value > INT_MAX. Proposed patch introduces special conversion functions which ensure that string length will not overflow. It also corrects error message in getint(), getdouble() and getboolean() methods (e.g. "must be int or str" instead of "must be str") and adds tests for them. |
|
Date |
User |
Action |
Args |
2014-05-22 14:42:02 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, gpolo |
2014-05-22 14:42:02 | serhiy.storchaka | set | messageid: <1400769722.86.0.708994855199.issue21552@psf.upfronthosting.co.za> |
2014-05-22 14:42:02 | serhiy.storchaka | link | issue21552 messages |
2014-05-22 14:42:01 | serhiy.storchaka | create | |
|