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)
|