]> git.pld-linux.org Git - packages/DirectFB.git/commitdiff
- don't SEGV on input driver init failure
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 23 Oct 2005 11:46:35 +0000 (11:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    DirectFB-segv.patch -> 1.1

DirectFB-segv.patch [new file with mode: 0644]

diff --git a/DirectFB-segv.patch b/DirectFB-segv.patch
new file mode 100644 (file)
index 0000000..ec57a16
--- /dev/null
@@ -0,0 +1,12 @@
+Don't try to free shared->reactor before it's allocated.
+
+--- DirectFB-0.9.23/src/core/input.c.orig      2004-11-23 20:11:43.000000000 +0100
++++ DirectFB-0.9.23/src/core/input.c   2005-10-23 13:46:03.087199224 +0200
+@@ -732,7 +732,6 @@
+                D_MAGIC_SET( device, CoreInputDevice );
+                if (funcs->OpenDevice( device, n, &device_info, &driver_data )) {
+-                    fusion_reactor_free( shared->reactor );
+                     SHFREE( shared );
+                     D_MAGIC_CLEAR( device );
+                     D_FREE( device );
This page took 0.048265 seconds and 4 git commands to generate.