diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-07-02 13:28:10 -0700 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-07-05 15:11:13 -0300 |
commit | c8935581de4ff931bc32fb03da5d87f0ee2378a1 (patch) | |
tree | 619b72365133737f7df6c671f10443cc21d35789 /malloc/scratch_buffer_grow_preserve.c | |
parent | 91fb0f17a5779da6e7877eb74119a83dbe8bf167 (diff) | |
download | glibc-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