homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hfuru
Recipients hfuru
Date 2010年11月04日.11:27:39
SpamBayes Score 0.0021770876
Marked as misclassified No
Message-id <1288870063.75.0.834981100194.issue10308@psf.upfronthosting.co.za>
In-reply-to
Content
Patches for getpath.c in Python 2.7 and 3.2a3:
2.7 chunk#2: copy_absolute() would use uninitialized data if getcwd()
failed. The fix is equivalent to what 3.2a3 does.
3.2a3 chunk#2: search_for_exec_prefix() did 'unsigned value >= 0' on the
PyUnicode_AsWideChar() result. (The fix just renames n to k of signed
type, and moves the variables. An outer uninitialized 'size_t n' is in
scope, so renaming the inner n to k leaves 'n=fread()' still a size_t.)
Chunk #1, both versions: Fix an unlikely 'n+k' wraparound bug while I'm
at it. The code has just checked that MAXPATHLEN-n will not wrap.
History
Date User Action Args
2010年11月04日 11:27:44hfurusetrecipients: + hfuru
2010年11月04日 11:27:43hfurusetmessageid: <1288870063.75.0.834981100194.issue10308@psf.upfronthosting.co.za>
2010年11月04日 11:27:41hfurulinkissue10308 messages
2010年11月04日 11:27:40hfurucreate

AltStyle によって変換されたページ (->オリジナル) /