diff options
author | ache <ache@FreeBSD.org> | 1997-12-24 13:47:13 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-12-24 13:47:13 +0000 |
commit | b8a0fd9139fb9ad3f16b20315e576ff7df5eaa86 (patch) | |
tree | af42dfa74f97950f13519e2c42bc1b2c5cc5ced6 /lib/libc/stdio/snprintf.c | |
parent | 5d2bb2184a34422865a75ab574fa793f04bdfada (diff) | |
download | FreeBSD-src-b8a0fd9139fb9ad3f16b20315e576ff7df5eaa86.zip FreeBSD-src-b8a0fd9139fb9ad3f16b20315e576ff7df5eaa86.tar.gz |
Fix snprintf(...%n...)
to pass not more than buffer size to %n agrument, old variant
always assume infinite buffer.
%n is for actually transmitted characters, not for planned ones.
Diffstat (limited to 'lib/libc/stdio/snprintf.c')
0 files changed, 0 insertions, 0 deletions