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 skrah
Recipients christian.heimes, georg.brandl, skrah, vstinner
Date 2012年09月12日.13:09:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347455395.18.0.0515260553686.issue15930@psf.upfronthosting.co.za>
In-reply-to
Content
buf[1] contains NUL if SIZE_OF_WCHAR_T is 4.
The man page says:
 size_t wcstombs(char *dest, const wchar_t *src, size_t n)
The conversion can stop for three reasons:
3. The wide-character string has been completely converted, including the terminating L'0円'. In
 this case the conversion ends in the initial state. The number of bytes written to dest, exclud-
 ing the terminating '0円' byte, is returned.
To me this sounds like there cannot be an invalid write.
History
Date User Action Args
2012年09月12日 13:09:55skrahsetrecipients: + skrah, georg.brandl, vstinner, christian.heimes
2012年09月12日 13:09:55skrahsetmessageid: <1347455395.18.0.0515260553686.issue15930@psf.upfronthosting.co.za>
2012年09月12日 13:09:34skrahlinkissue15930 messages
2012年09月12日 13:09:33skrahcreate

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