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 christian.heimes
Recipients benjamin.peterson, christian.heimes, gregory.p.smith
Date 2013-03-13.14:56:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363186571.7.0.595680850416.issue17405@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that implements _Py_memset_s() according to C11 with a fallback to memset_s().

My linker fu seems to be weak. I had to use _Py_memset_s() in random.c otherwise the function is removed from the static Python binary. I double-checked with readelf -Ws: the function is defined in the archive file and is available in the shared library. But the linker removes it from the static binary so shared libraries fail to load.
History
Date User Action Args
2013-03-13 14:56:12christian.heimessetrecipients: + christian.heimes, gregory.p.smith, benjamin.peterson
2013-03-13 14:56:11christian.heimessetmessageid: <1363186571.7.0.595680850416.issue17405@psf.upfronthosting.co.za>
2013-03-13 14:56:11christian.heimeslinkissue17405 messages
2013-03-13 14:56:11christian.heimescreate