[PD] buffer overflow with pd-hid

Willy willy.wolff.0 at gmail.com
Fri Jan 15 20:35:52 CET 2010


Willy wrote:
> Hans-Christoph Steiner wrote:
>>
>> Which device are you opening?  What are the perms on that device?  I 
>> don't know if this is related to the problems people were having with 
>> recent Debian/Ubuntu versions, where the system locked access to the 
>> devices.
>>
>> .hc
>>
>> On Jan 14, 2010, at 1:36 PM, Willy wrote:
>>
>>> I have this message when i open and start a device. In root and user.
>>>
>>> *** buffer overflow detected ***: pd terminated
>>> ======= Backtrace: =========
>>> /lib/libc.so.6(__fortify_fail+0x4e)[0xb760289e]
>>> /lib/libc.so.6(+0xe57da)[0xb76007da]
>>> /lib/libc.so.6(__strcpy_chk+0x44)[0xb75ffac4]
>>> /usr/lib/pd/extra/hid/hid.pd_linux(hid_get_events+0x60)[0xb77be380]
>>> [0xb75a6]
>>> ======= Memory map: ========
>>> 08048000-0815e000 r-xp 00000000 08:05 1281956    /usr/bin/pd
>>> 0815e000-0815f000 r--p 00115000 08:05 1281956    /usr/bin/pd
>>> 0815f000-08161000 rw-p 00116000 08:05 1281956    /usr/bin/pd
>>> 08161000-082af000 rw-p 00000000 00:00 0          [heap]
>>> b739e000-b739f000 ---p 00000000 00:00 0
>>> b739f000-b7421000 rw-p 00000000 00:00 0
>>> b7421000-b742d000 r-xp 00000000 08:05 222982     
>>> /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1
>>> b742d000-b742e000 r--p 0000b000 08:05 222982     
>>> /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1
>>> b742e000-b742f000 rw-p 0000c000 08:05 222982     
>>> /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1
>>> b742f000-b7510000 r-xp 00000000 08:05 222980     
>>> /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10
>>> b7510000-b7514000 r--p 000e0000 08:05 222980     
>>> /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10
>>> b7514000-b7515000 rw-p 000e4000 08:05 222980     
>>> /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10
>>> b7515000-b751b000 rw-p 00000000 00:00 0
>>> b751b000-b765e000 r-xp 00000000 08:02 79785      /lib/libc-2.11.so
>>> b765e000-b7660000 r--p 00143000 08:02 79785      /lib/libc-2.11.so
>>> b7660000-b7661000 rw-p 00145000 08:02 79785      /lib/libc-2.11.so
>>> b7661000-b7664000 rw-p 00000000 00:00 0
>>> b7664000-b7679000 r-xp 00000000 08:02 79821      
>>> /lib/libpthread-2.11.so
>>> b7679000-b767a000 r--p 00014000 08:02 79821      
>>> /lib/libpthread-2.11.so
>>> b767a000-b767b000 rw-p 00015000 08:02 79821      
>>> /lib/libpthread-2.11.so
>>> b767b000-b767e000 rw-p 00000000 00:00 0
>>> b767e000-b76a1000 r-xp 00000000 08:02 79848      /lib/libm-2.11.so
>>> b76a1000-b76a2000 r--p 00022000 08:02 79848      /lib/libm-2.11.so
>>> b76a2000-b76a3000 rw-p 00023000 08:02 79848      /lib/libm-2.11.so
>>> b76a3000-b76a5000 r-xp 00000000 08:02 79772      /lib/libdl-2.11.so
>>> b76a5000-b76a6000 r--p 00001000 08:02 79772      /lib/libdl-2.11.so
>>> b76a6000-b76a7000 rw-p 00002000 08:02 79772      /lib/libdl-2.11.so
>>> b76a7000-b76e5000 r-xp 00000000 08:05 2594037    
>>> /usr/lib/libjack.so.0.1.0
>>> b76e5000-b76e6000 r--p 0003e000 08:05 2594037    
>>> /usr/lib/libjack.so.0.1.0
>>> b76e6000-b76e7000 rw-p 0003f000 08:05 2594037    
>>> /usr/lib/libjack.so.0.1.0
>>> b76e7000-b76ee000 r-xp 00000000 08:02 79846      /lib/librt-2.11.so
>>> b76ee000-b76ef000 r--p 00006000 08:02 79846      /lib/librt-2.11.so
>>> b76ef000-b76f0000 rw-p 00007000 08:02 79846      /lib/librt-2.11.so
>>> b76f0000-b77a6000 r-xp 00000000 08:05 196365     
>>> /usr/lib/libasound.so.2.0.0
>>> b77a6000-b77a9000 r--p 000b6000 08:05 196365     
>>> /usr/lib/libasound.so.2.0.0
>>> b77a9000-b77aa000 rw-p 000b9000 08:05 196365     
>>> /usr/lib/libasound.so.2.0.0
>>> b77b7000-b77c2000 r-xp 00000000 08:05 2449497    
>>> /usr/lib/pd/extra/hid/hid.pd_linux
>>> b77c2000-b77c3000 r--p 0000a000 08:05 2449497    
>>> /usr/lib/pd/extra/hid/hid.pd_linux
>>> b77c3000-b77c5000 rw-p 0000b000 08:05 2449497    
>>> /usr/lib/pd/extra/hid/hid.pd_linux
>>> b77c5000-b77c6000 rw-p 00000000 00:00 0
>>> b77c6000-b77e3000 r-xp 00000000 08:02 79835      /lib/ld-2.11.so
>>> b77e3000-b77e4000 r--p 0001c000 08:02 79835      /lib/ld-2.11.so
>>> b77e4000-b77e5000 rw-p 0001d000 08:02 79835      /lib/ld-2.11.so
>>> bf8c8000-bf8dd000 rw-p 00000000 00:00 0          [stack]
>>> ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
>>> Pd: signal 6
>>> pd_gui: pd process exited
>>>
>>> _______________________________________________
>>> Pd-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> 
>>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------------- 
>>
>>
>> 'You people have such restrictive dress for women,’ she said, 
>> hobbling away in three inch heels and panty hose to finish out 
>> another pink-collar temp pool day.  - “Hijab Scene #2", by Mohja Kahf
>>
>>
> I use Pd version 0.42-5 on a Gentoo/GNU Linux with a 2.6.31.6-rt19 
> kernel version.
> The packet i use come from pd-overlay pd-hid-0.6.
>
> The device is
> [hid] opened device 2 (/dev/input/event2): AT Translated Set 2 keyboard
>
> 2045 crw-r----- 1 root users 13, 66 2010-01-15 20:17 /dev/input/event2
>
> and i am on the users group.
>
> I test it with root right, and take same.
>
> Thanks.
>





More information about the Pd-list mailing list