diff options
author | Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com> | 2021-09-08 23:15:15 +0530 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2021-09-24 04:27:46 -1000 |
commit | ad080aadbc409c99511d602e0531952b96c06bbf (patch) | |
tree | 9cca362a4717a3df4f87a618d3b9fbf800a851cd /meta/recipes-devtools/swig | |
parent | dc1209f35369ea57d507356e19e64654df197b94 (diff) | |
download | openembedded-core-ad080aadbc409c99511d602e0531952b96c06bbf.tar.gz |
rpm: Handle proper return value to avoid major issues
0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch changed
to avoid critical issues
Handled return values of getrlimit() and lzma_cputhreads() functions
to avoid unexpected behaviours like devide by zero and potential read
of uninitialized variable 'virtual_memory'
Upstream-Status: Pending [merge of multithreading patches to upstream]
Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5aae9c2cb464350bc443a0f60fd6602942e61f46)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/swig')
0 files changed, 0 insertions, 0 deletions