Message49784
Logged In: YES
user_id=33168
Verified for 2.4 and head. The probably could exist w/ucs2
also if you use 'bar' (I think).
I agree with Nick, this patch doesn't really solve the
problem. The attached patch fixes the crash more generally,
but I'm think there is a better solution. I hope Martin has
time to review this and suggest a better fix.
Martin, the change in getargs ensures that we don't try to
convert an 8-bit string of length 5 to unicode. The change
in unicodeobject ensures that we don't reference the array
with a negative offset as happens if the buffer conversion
succeeds with an invalid unicode character. |
|
| Date |
User |
Action |
Args |
| 2007-08-23 15:47:03 | admin | link | issue1454485 messages |
| 2007-08-23 15:47:03 | admin | create | |
|