typefind: NULL check in degas_type_find
authorPhilip Jägenstedt <philipj@opera.com>
Wed, 15 Jun 2011 11:51:31 +0000 (13:51 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 26 Jun 2011 22:31:33 +0000 (23:31 +0100)
commitf3e65f1c9374df13e4fa082bc750ce94e38c58de
treee8c8bcf2363beadcb7257a1ba28e885d9c3ee299
parent0c4b5edd76ef2d4f26bc2548e95cf26f5f9e2b49
typefind: NULL check in degas_type_find

The length check isn't sufficient, an source might
report the correct length, but then still fail to
read the requested number of bytes for some reason.

https://bugzilla.gnome.org/show_bug.cgi?id=652642
gst/typefind/gsttypefindfunctions.c