summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/ia64/pipe.S
diff options
context:
space:
mode:
authorFrank Mehnert <frank.mehnert@kernkonzept.com>2024-02-20 08:32:20 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-20 19:37:18 +0100
commit8fa5437044b7ebc6971f987644d48507e0fbc5f9 (patch)
tree32d314d45ab1a7b28a31ba831c3ca4526ad5b16a /libc/sysdeps/linux/ia64/pipe.S
parent0ab4d9d49d97cba0fc43f7c159e377b16179c821 (diff)
ldso: add null-pointer check
There is a check for (*rpnt == NULL) a few lines above but the "else" case performing an allocation does only exist if SHARED is not defined. If SHARED is defined, the allocation is not performed and it may happen (at least in theory) that *rpnt == NULL when executing (*rpnt)->dyn = tpnt; Add the null-pointer check. Signed-off-by: Frank Mehnert <frank.mehnert@kernkonzept.com>
Diffstat (limited to 'libc/sysdeps/linux/ia64/pipe.S')
0 files changed, 0 insertions, 0 deletions