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

Add __nonnull((1)) to the adjtimex()/adjtimex64() function declaration
    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/include/sys/timex.h
sysdeps/unix/sysv/linux/sys/timex.h
This page took 0.042959 seconds and 5 git commands to generate.