summaryrefslogtreecommitdiff
path: root/src/thread/pthread_condattr_setclock.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-08-07 21:35:28 -0400
committerRich Felker <dalias@aerifal.cx>2019-08-07 21:35:28 -0400
commit0847902ab99065a48f9bd3729b6e676288dfd69e (patch)
treef2cfdd9ec74374828c5f3f534762eb13748b4a32 /src/thread/pthread_condattr_setclock.c
parenta108127256a188130a80d6c7762ec8820e663b7c (diff)
downloadmusl-0847902ab99065a48f9bd3729b6e676288dfd69e.tar.gz
musl-0847902ab99065a48f9bd3729b6e676288dfd69e.tar.bz2
musl-0847902ab99065a48f9bd3729b6e676288dfd69e.tar.xz
musl-0847902ab99065a48f9bd3729b6e676288dfd69e.zip
in clock_getres, check for null pointer before storing result
POSIX allows a null pointer, in which case the function only checks the validity of the clock id argument.
Diffstat (limited to 'src/thread/pthread_condattr_setclock.c')
0 files changed, 0 insertions, 0 deletions