EOVERFLOW in fseek()

Sebastian Huber sebastian.huber@embedded-brains.de
Wed Jun 20 14:07:00 GMT 2012


In FreeBSD these integer overflows are checked for example:

http://svnweb.freebsd.org/base/head/lib/libc/stdio/fseek.c?revision=178287&view=markup

They use also a common _fseeko() function with an ltest parameter to perform 
long value overflow tests.

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the Newlib mailing list