aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg/opkg_0.2.2.bb
diff options
context:
space:
mode:
authorPaul Barker <paul@paulbarker.me.uk>2014-08-14 16:46:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-15 18:19:52 +0100
commit64048d45d5c52d354396e357e765f0fd8b5e56fd (patch)
treee5bf7645d3fbc849c1908bea1e26edbdb342ed46 /meta/recipes-devtools/opkg/opkg_0.2.2.bb
parent513f72274460e54fd35dda5ef70fa42ba2b284f8 (diff)
downloadopenembedded-core-contrib-64048d45d5c52d354396e357e765f0fd8b5e56fd.tar.gz
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-devtools/opkg/opkg_0.2.2.bb')
0 files changed, 0 insertions, 0 deletions