Fixes: https://bugs.linaro.org/show_bug.cgi?id=3182 by adding proper checks on allocated memory. Signed-off-by: Ilias Apalodimas [email protected]
----------------github------------------------ /** Email created from pull request 101 (apalos:bug_3182) ** https://github.com/Linaro/odp/pull/101 ** Patch: https://github.com/Linaro/odp/pull/101.patch ** Base sha: bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c ** Merge commit sha: f5b9c9388dd678d8cdfbf1e160bea539870d41cc **/ ----------------/github------------------------ ----------------checkpatch.pl------------------------ total: 0 errors, 0 warnings, 0 checks, 70 lines checked to_send-p-000.patch has no obvious style problems and is ready for submission. ----------------/checkpatch.pl------------------------
