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 arigo
Recipients amaury.forgeotdarc, arigo, benjamin.peterson, eric.araujo, eric.smith, francismb, serhiy.storchaka
Date 2014-11-17.16:30:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416241813.5.0.319754008461.issue11145@psf.upfronthosting.co.za>
In-reply-to
Content
+        if (Py_REFCNT(result) == 1)
+            buf[len] = '\0';

...and if the refcount is not equal to 1, then too bad, we won't null-terminate the string and hope that nobody crashes because of this.??
History
Date User Action Args
2014-11-17 16:30:13arigosetrecipients: + arigo, amaury.forgeotdarc, eric.smith, benjamin.peterson, eric.araujo, francismb, serhiy.storchaka
2014-11-17 16:30:13arigosetmessageid: <1416241813.5.0.319754008461.issue11145@psf.upfronthosting.co.za>
2014-11-17 16:30:13arigolinkissue11145 messages
2014-11-17 16:30:13arigocreate