On Mon, 27 Oct 2025, [email protected] wrote: > + fseek (fptr, 0, SEEK_END); > + file_size = ftell (fptr); > + rewind (fptr); > + buf = (char *) xmalloc (file_size + 1); > + > + fread (buf, 1, file_size, fptr);
This is missing error checking on fseek, ftell, fread. -- Joseph S. Myers [email protected]
