mirror of git://git.musl-libc.org/musl
fix crash in dns code with new stdio locking code
This commit is contained in:
parent
acfd06df17
commit
e95b0a9d10
|
@ -13,6 +13,7 @@ FILE *__fopen_rb_ca(const char *filename, FILE *f, unsigned char *buf, size_t le
|
||||||
f->read = __stdio_read;
|
f->read = __stdio_read;
|
||||||
f->seek = __stdio_seek;
|
f->seek = __stdio_seek;
|
||||||
f->close = __stdio_close;
|
f->close = __stdio_close;
|
||||||
|
f->lock = -1;
|
||||||
|
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue