Skip to contentSkip to conversation

Philippe Gerum : cobalt/kernel: generalize use of safe *snprintf()

Xenomai Gilles Chanteperdrix 1 participant 1 message Apr 24, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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 +0200

cobalt/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.