search for: a0snprintf

Displaying 1 result from an estimated 1 matches for "a0snprintf".

Did you mean: _snprintf
2009 Apr 25
0
incorrect output and segfaults from sprintf with %*d (PR#13675)
...; =A0 =A0 vQ> while snprintf would help avoid buffer overflow, it may not = be a >> =A0 =A0 vQ> solution to the issue of confused output. >> >> =A0 =A0 MM> I think it would / will. =A0We would be able to give warning= s and >> =A0 =A0 MM> errors, by checking the =A0snprintf() =A0return codes. >> >> My current working code gives an error for all the above >> examples, e.g., >> >> =A0> sprintf('%9999d', 1) >> =A0Error in sprintf("%9999d", 1) : >> =A0 =A0required resulting string length 9999 is > maximal 8...