about summary refs log tree commit diff
path: root/malloc/scratch_buffer_grow_preserve.c
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-07-02 13:28:10 -0700
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-07-05 15:11:13 -0300
commitc8935581de4ff931bc32fb03da5d87f0ee2378a1 (patch)
tree619b72365133737f7df6c671f10443cc21d35789 /malloc/scratch_buffer_grow_preserve.c
parent91fb0f17a5779da6e7877eb74119a83dbe8bf167 (diff)
downloadglibc-c8935581de4ff931bc32fb03da5d87f0ee2378a1.tar.gz
glibc-c8935581de4ff931bc32fb03da5d87f0ee2378a1.tar.xz
glibc-c8935581de4ff931bc32fb03da5d87f0ee2378a1.zip
linux: Check for null value msghdr struct before use
This avoids crashes in libc when cmsg is null and refrencing msg
structure when it is null

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'malloc/scratch_buffer_grow_preserve.c')
0 files changed, 0 insertions, 0 deletions