Philippe Gerum : cobalt/kernel: generalize use of safe *snprintf()
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · git repository hosting
Module: xenomai-forge Branch: rtdm-api-waitqueues Commit: f8490220177c0c007ae98dac4a956ecd0de89120 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=f8490220177c0c007ae98dac4a956ecd0de89120
Quoted 7 lines
Author: Philippe Gerum <[email protected]> Date: Thu Apr 17 11:44:08 2014 +0200cobalt/kernel: generalize use of safe
*snprintf()Make sure to have the destination string null-terminated on character overflow.
snprintf already adds the null, systematically, even in case of overflow.
Signature · 1 line
Gilles.