marcus905 / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Segfaults & bus errors on large commands #232

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For the segfaults, seems like buffer overflow overwriting return pointer of 
pn53x_usb_bulk_write()

python -c 'print "06"+"00"*248'|pn53x-tamashell
=> ok

python -c 'print "06"+"00"*250'|pn53x-tamashell
=> segfault

python -c 'print "06"+"00"*252'|pn53x-tamashell
=> segfault

python -c 'print "06"+"00"*254'|pn53x-tamashell
=> Bus error

Original issue reported on code.google.com by yob...@gmail.com on 21 Feb 2013 at 5:27

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 9935095a365a.

Original comment by yob...@gmail.com on 21 Feb 2013 at 9:40