[Xenomai] [Xenomai-git] Philippe Gerum : cobalt/kernel: generalize use of safe *snprintf()

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Thu Apr 24 18:06:29 CEST 2014


On 04/24/2014 05:56 PM, git repository hosting wrote:
> Module: xenomai-forge
> Branch: rtdm-api-waitqueues
> Commit: f8490220177c0c007ae98dac4a956ecd0de89120
> URL:    http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=f8490220177c0c007ae98dac4a956ecd0de89120
>
> Author: Philippe Gerum <rpm at xenomai.org>
> 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.

-- 
					    Gilles.




More information about the Xenomai mailing list