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 Rafal.Dowgird
Recipients Rafal.Dowgird
Date 2011-08-17.13:06:11
SpamBayes Score 1.5220185e-05
Marked as misclassified No
Message-id <1313586371.99.0.0572825103199.issue12769@psf.upfronthosting.co.za>
In-reply-to
Content
The ctypes module seems to truncate NUL-containing strings when assigning to structure fields of type c_char*1024. Reproduced on a 2.7.2 compiled from tarball. Script to reproduce attached.
History
Date User Action Args
2011-08-17 13:06:12Rafal.Dowgirdsetrecipients: + Rafal.Dowgird
2011-08-17 13:06:11Rafal.Dowgirdsetmessageid: <1313586371.99.0.0572825103199.issue12769@psf.upfronthosting.co.za>
2011-08-17 13:06:11Rafal.Dowgirdlinkissue12769 messages
2011-08-17 13:06:11Rafal.Dowgirdcreate