h.b.furuseth@usit.uio.no wrote:
OpenLDAP is full of code like ptr += snprintf( ptr, ... ); and bv.bv_len = snprintf( ... ); <use bv>;
Let me add that there seem to be occasional improper uses of sprintf() too (usually in marginal code, fortunately).
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: pierangelo.masarati@sys-net.it ---------------------------------------