https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204230

--- Comment #3 from Andrey A. Chernov <[email protected]> ---
Comment on attachment 162714
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162714
proposed fix

This fix is not pretty. 
1) It does not set errno (EFBIG)
2) Next overflow is few lines below:
if(((I=malloc((oldsize+1)*sizeof(off_t)))==NULL) ||
    ((V=malloc((oldsize+1)*sizeof(off_t)))==NULL)) err(1,NULL);

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to