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

clock_settime()
clock_settime64()
clock_gettime()
clock_gettime64()
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>
include/time.h
time/time.h
This page took 0.04307 seconds and 5 git commands to generate.