projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
prevent CNAME/PTR parsing from reading data past the response end
[musl]
/
src
/
stdio
/
ungetc.c
diff --git
a/src/stdio/ungetc.c
b/src/stdio/ungetc.c
index
180673a
..
bc629d4
100644
(file)
--- a/
src/stdio/ungetc.c
+++ b/
src/stdio/ungetc.c
@@
-16,5
+16,5
@@
int ungetc(int c, FILE *f)
f->flags &= ~F_EOF;
FUNLOCK(f);
- return c;
+ return
(unsigned char)
c;
}