TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: David Nugent
from: Paul Edwards
date: 1995-09-28 23:30:26
subject: Variable arguments

DN> ISO will soon to introducing a new interface to the v?printf() family 
DN> called v?nprintf(), where you can specify the destination buffer size and 
DN> therefore avoid buffer overflow - something that you can only guard against 
DN> currently by defining large buffers. 

You can also guard against it by doing things like %30s to make
sure you don't put more than 30 characters of the string into
the buffer.  Not relevant to something like vfprintf() anyway
though.  BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.