Message125367
haypo: please avoid introducing explicit casts (such as the one in pyexpat.c). Use SAFECASTs instead. If you are absolutely certain that a cast cannot possibly truncate, add a comment explaining why that is. In the specific case, I think it actually *is* possible that the cast truncates, because the case that read() returned too many bytes is incorrectly handled (it should set len to -1). |
|
Date |
User |
Action |
Args |
2011-01-04 21:47:11 | loewis | set | recipients:
+ loewis, amaury.forgeotdarc, pitrou, vstinner, schmir, brian.curtin, janglin |
2011-01-04 21:47:11 | loewis | set | messageid: <1294177631.26.0.639346888504.issue9566@psf.upfronthosting.co.za> |
2011-01-04 21:47:09 | loewis | link | issue9566 messages |
2011-01-04 21:47:09 | loewis | create | |
|