directfb 1.2.10 crashes on Release due to a double free
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
directfb (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
when calling Release() on an IDirectFB object, it creates a signal 11 due to a double free. This occues on Kubuntu 10.10, amd64. This can be reproduced with the directfb tutorial application.
The call stack is
#0 __libc_free (mem=0x7ffff410
#1 0x00007ffff67f8012 in ?? () from /usr/lib/
#2 0x00007ffff6b0a9fe in dfb_x11_
#3 0x00007ffff6b07584 in dfb_x11_
#4 0x00007ffff6b08a00 in ?? () from /usr/lib/
#5 0x00007ffff71325a7 in fusion_call_execute () from /usr/lib/
#6 0x00007ffff6b06ed1 in ?? () from /usr/lib/
#7 0x00007ffff7bb473f in ?? () from /usr/lib/
#8 0x00007ffff7bb4f9a in dfb_layer_
#9 0x00007ffff7bb5440 in ?? () from /usr/lib/
#10 0x00007ffff71348c2 in ?? () from /usr/lib/
#11 0x00007ffff713553c in fusion_ref_down () from /usr/lib/
#12 0x00007ffff7b6cb19 in IDirectFB_Destruct () from /usr/lib/
#13 0x00007ffff7b6cbba in ?? () from /usr/lib/
#14 0x0000000000402fbb in main (argc=1, argv=0x7fffffff
security vulnerability: | no → yes |
Attached sample source code.