diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-01 15:07:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-01 15:07:30 +0000 |
commit | db16929598ac333b179fdfead630dbdfa68840a5 (patch) | |
tree | 781f3bac8b151e4a4a2cd96b6dd78b92742a2af3 /x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-sigfpe-crash.patch | |
parent | 7a795be3ed6b29502cf5dccb5ea8294fc1ec2860 (diff) |
gentoo auto-resync : 01:11:2022 - 15:07:30
Diffstat (limited to 'x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-sigfpe-crash.patch')
-rw-r--r-- | x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-sigfpe-crash.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-sigfpe-crash.patch b/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-sigfpe-crash.patch deleted file mode 100644 index e2fe02ccf320..000000000000 --- a/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-sigfpe-crash.patch +++ /dev/null @@ -1,21 +0,0 @@ -Description: Fix a crash if a heap is destroyed before being initialized -Author: Sebastian Ramacher <sramacher@debian.org> -Bug: https://bugs.freedesktop.org/show_bug.cgi?id=58836 -Bug-Debian: http://bugs.debian.org/748294 -Last-Update: 2014-06-02 - ---- vdpau-video-0.7.4.orig/src/object_heap.c -+++ vdpau-video-0.7.4/src/object_heap.c -@@ -272,8 +272,10 @@ object_heap_destroy(object_heap_p heap) - ASSERT(obj->next_free != ALLOCATED); - } - -- for (i = 0; i < heap->heap_size / heap->heap_increment; i++) { -- free(heap->bucket[i]); -+ if (heap->bucket) { -+ for (i = 0; i < heap->heap_size / heap->heap_increment; i++) { -+ free(heap->bucket[i]); -+ } - } - - pthread_mutex_destroy(&heap->mutex); |