Fix the FreeBSD port by not fuzzing the __srget() output unless it's called
directly.
This commit is contained in:
parent
31ae813b8d
commit
66223df9e6
@ -963,7 +963,8 @@ char *NEW(fgetln)(FILE *stream, size_t *len)
|
|||||||
int fd; \
|
int fd; \
|
||||||
LOADSYM(myrefill); \
|
LOADSYM(myrefill); \
|
||||||
fd = fileno(fp); \
|
fd = fileno(fp); \
|
||||||
if(!_zz_ready || !_zz_iswatched(fd) || !_zz_isactive(fd)) \
|
if(!_zz_ready || !_zz_iswatched(fd) || !_zz_isactive(fd) \
|
||||||
|
|| _zz_islocked(fd)) \
|
||||||
return ORIG(myrefill)(fp); \
|
return ORIG(myrefill)(fp); \
|
||||||
debug_stream("before", fp); \
|
debug_stream("before", fp); \
|
||||||
pos = _zz_getpos(fd); \
|
pos = _zz_getpos(fd); \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user