Skip to content
Commit 5aae9c2c authored by Ranjitsinh Rathod's avatar Ranjitsinh Rathod Committed by Richard Purdie
Browse files

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: default avatarRanjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 0b7dd711
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment