prevent CNAME/PTR parsing from reading data past the response end
[musl] / src / stdio / fsetpos.c
index 5d76c8c..779cb3c 100644 (file)
@@ -2,7 +2,5 @@
 
 int fsetpos(FILE *f, const fpos_t *pos)
 {
-       return __fseeko(f, *(const off_t *)pos, SEEK_SET);
+       return __fseeko(f, *(const long long *)pos, SEEK_SET);
 }
-
-LFS64(fsetpos);