[tahoe-lafs-trac-stream] [pycryptopp] #80: segfault in Ed25519 on Fedora+gcc-4.7.0-prerelease

pycryptopp trac at tahoe-lafs.org
Wed Feb 15 21:20:09 UTC 2012


#80: segfault in Ed25519 on Fedora+gcc-4.7.0-prerelease
-------------------------+---------------------
Reporter:  zooko         |          Owner:
    Type:  defect        |         Status:  new
Priority:  major         |      Milestone:
 Version:  0.5.29        |     Resolution:
Keywords:  fedora crash  |  Launchpad Bug:
-------------------------+---------------------

Comment (by zooko):

 Thanks to Samuel Neves, we figured out that the bug is in our pycryptopp
 (and python-ed25519) glue code: [source:git/src-
 ed25519/glue/ed25519module.c?annotate=blame&rev=959851743ed0a5fb1dc77d6925031a03367c8949#L45
 ed25519module.c line 45] uses type {{{int}}} to hold the size of
 something, but the module has declared {{{PY_SSIZE_T_CLEAN}}} which means
 it promises to only use {{{size_t}}}'s to hold sizes of things.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/pycryptopp/ticket/80#comment:4>
pycryptopp <https://tahoe-lafs.org/trac/pycryptopp>



More information about the tahoe-lafs-trac-stream mailing list