diff options
author | Paul Barker <paul@paulbarker.me.uk> | 2014-08-14 16:46:51 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-15 18:19:52 +0100 |
commit | 64048d45d5c52d354396e357e765f0fd8b5e56fd (patch) | |
tree | e5bf7645d3fbc849c1908bea1e26edbdb342ed46 /meta/recipes-multimedia/libtiff | |
parent | 513f72274460e54fd35dda5ef70fa42ba2b284f8 (diff) | |
download | openembedded-core-64048d45d5c52d354396e357e765f0fd8b5e56fd.tar.gz openembedded-core-64048d45d5c52d354396e357e765f0fd8b5e56fd.tar.bz2 openembedded-core-64048d45d5c52d354396e357e765f0fd8b5e56fd.zip |
opkg: Protect add-exclude.patch from malloc failure
In the code added by add-exclude.patch, the return values of malloc and realloc
were not checked before being dereferenced.
In opkg we can use xmalloc and xrealloc instead of malloc and realloc. These
functions terminate the program instead of returning NULL if memory allocation
fails.
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/libtiff')
0 files changed, 0 insertions, 0 deletions