Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 325390 Details for
Bug 436674
media-libs/gst-plugins-base-0.10.35: www-client/firefox-15.0.1[gstreamer] segfaults playing some videos
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gst-plugins-base-0.10.35-fix-segfault.patch
gst-plugins-base-0.10.35-fix-segfault.patch (text/plain), 1.02 KB, created by
Ilya Gordeev
on 2012-09-30 16:11:57 UTC
(
hide
)
Description:
gst-plugins-base-0.10.35-fix-segfault.patch
Filename:
MIME Type:
Creator:
Ilya Gordeev
Created:
2012-09-30 16:11:57 UTC
Size:
1.02 KB
patch
obsolete
>--- a/gst/typefind/gsttypefindfunctions.c 2011-06-14 18:52:17.000000000 +0600 >+++ b/gst/typefind/gsttypefindfunctions.c 2012-09-30 20:44:15.755984149 +0600 >@@ -4023,6 +4023,7 @@ > if (len < 34) /* smallest header of the lot */ > return; > data = gst_type_find_peek (tf, 0, 4); >+ if (data == NULL) return; > resolution = GST_READ_UINT16_BE (data); > if (len == 32034) { > /* could be DEGAS */ >@@ -4033,6 +4034,7 @@ > /* could be DEGAS Elite */ > if (resolution <= 2) { > data = gst_type_find_peek (tf, len - 16, 8); >+ if (data == NULL) return; > for (n = 0; n < 4; n++) { > if (GST_READ_UINT16_BE (data + n * 2) > 2) > return; >@@ -4045,6 +4047,7 @@ > it does have 4 16 bytes values near the end that are 0-2 though. */ > if ((resolution & 0x8000) && (resolution & 0x7fff) <= 2) { > data = gst_type_find_peek (tf, len - 16, 8); >+ if (data == NULL) return; > for (n = 0; n < 4; n++) { > if (GST_READ_UINT16_BE (data + n * 2) > 2) > return;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 436674
: 325390