diff options
author | Karel Zak | 2011-11-16 13:30:05 +0100 |
---|---|---|
committer | Karel Zak | 2011-11-16 13:30:05 +0100 |
commit | 8b6e4503882a3ffe8c7b2b47c58f41d364b09ef4 (patch) | |
tree | 8f4b1c4550216775183ad33ce35e137c539a6458 /text-utils/column.c | |
parent | prlimit: avoid segfault due to array-out-of-bounds error (diff) | |
download | kernel-qcow2-util-linux-8b6e4503882a3ffe8c7b2b47c58f41d364b09ef4.tar.gz kernel-qcow2-util-linux-8b6e4503882a3ffe8c7b2b47c58f41d364b09ef4.tar.xz kernel-qcow2-util-linux-8b6e4503882a3ffe8c7b2b47c58f41d364b09ef4.zip |
prlimit: don't share pointer for old and new in prlimit(2)
This patch makes the code more robust. We should not share the same
pointer for old and new arguments for prlimit(2) syscall.
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/column.c')
0 files changed, 0 insertions, 0 deletions