Don't allow negative sizes when allocating new buffers.
authorSebastian Dröge <slomo@circular-chaos.org>
Tue, 6 May 2008 08:43:57 +0000 (08:43 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 6 May 2008 08:43:57 +0000 (08:43 +0000)
commite9e0d0f0ebd4eb6f30b08f347e387ec0d878c246
tree9493d214287183149e75a1aa3cb7eab089f77a32
parente0a92a06041c32a64f21da5b0f83870872848586
Don't allow negative sizes when allocating new buffers.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_alloc_buffer_full):
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer):
Don't allow negative sizes when allocating new buffers.
Fixes bug #461253.
ChangeLog
common
gst/gstpad.c
libs/gst/base/gstbasetransform.c