projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getservbyport_r: fix out-of-bounds buffer read
[musl]
/
src
/
thread
/
pthread_setcanceltype.c
diff --git
a/src/thread/pthread_setcanceltype.c
b/src/thread/pthread_setcanceltype.c
index
ce2fff0
..
bf0a3f3
100644
(file)
--- a/
src/thread/pthread_setcanceltype.c
+++ b/
src/thread/pthread_setcanceltype.c
@@
-2,7
+2,7
@@
int pthread_setcanceltype(int new, int *old)
{
- struct pthread *self = pthread_self();
+ struct pthread *self =
__
pthread_self();
if (new > 1U) return EINVAL;
if (old) *old = self->cancelasync;
self->cancelasync = new;