[nut-Bugs][312958] 'printf' calls used instead of 'snprintf' in NUT trunk code.

nut-bugs at alioth.debian.org nut-bugs at alioth.debian.org
Fri Jan 28 09:53:00 UTC 2011


Bugs item #312958, was opened at 2011-01-28 15:23 by prachi gandhi
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=411542&aid=312958&group_id=30602

Status: Open
Priority: 3
Submitted By: prachi gandhi (prachi-guest)
Assigned to: Nobody (None)
Summary: 'printf' calls used instead of 'snprintf' in NUT trunk code. 
Category: Documentation
Group: None
Resolution: None


Initial Comment:
As per coding guidelines mentioned in developer.txt 'snprintf' should be used in code as it is provided with a compatibility module if the target host doesn't have it natively except in snprintf.c file. The attached log shows 'printf' calls used in NUT code. 

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=411542&aid=312958&group_id=30602



More information about the NUT-tracker mailing list