]> sourceware.org Git - glibc.git/commit
clock_adjtime: Use __nonnull to avoid null pointer
authorXiaoming Ni <nixiaoming@huawei.com>
Thu, 5 May 2022 03:01:10 +0000 (11:01 +0800)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 5 May 2022 12:18:04 +0000 (17:48 +0530)
commited2ddeffa5d4a51a0d7fe8af701e86cb2fd4ce05
tree9f74ef0aabe8c4957b3806b88d8e5205b49b865a
parent6a9786b8ecf84a23f9d108a46f58e9fcca70c4a9
clock_adjtime: Use __nonnull to avoid null pointer

clock_adjtime()/clock_adjtime64()
Add __nonnull((2)) to avoid null pointer access.

Link: https://sourceware.org/bugzilla/show_bug.cgi?id=27662
Link: https://sourceware.org/bugzilla/show_bug.cgi?id=29084
Signed-off-by: Xiaoming Ni <nixiaoming@huawei.com>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
sysdeps/unix/sysv/linux/bits/time.h
sysdeps/unix/sysv/linux/include/sys/timex.h
This page took 0.041503 seconds and 5 git commands to generate.