[Speex-dev] FW: Handling allocation failure in resampler init - patch

Sherief N. Farouk
Tue, 03 Nov 2009 22:35:30 -0000

From: Sherief Farouk [mailto:sherief.farouk at twisted-works.com]
Sent: Tuesday, November 03, 2009 5:34 PM
To: 'speex-dev at xiph.org'
Subject: Handling allocation failure in resampler init - patch



Hi,

                Here's a patch that stops allocation failures during
resampler init from segfaulting, now they fail gracefully and report the
error through the error code parameter to the caller.



-          Sherief

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.xiph.org/pipermail/speex-dev/attachments/20091103/b088cd62/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: speex-1.2rc1_rev1.patch
Type: application/octet-stream
Size: 1661 bytes
Desc: not available