the following patch was just integrated into master:
commit 431f74bbe797968a8ae5fad68fb91ad8e5e3e3cf
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Tue Nov 26 02:41:26 2013 +0100
Replace all occurences of sprintf with snprintf
THis reduces risks of bufer overflows.
Change-Id: I77f80e76efec16ac0a0af83d76430a8126a7602d
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
See http://review.coreboot.org/4279 for details.
-gerrit
the following patch was just integrated into master:
commit b6834ab4078b5dd8e9f82fdb763b4f06ca970b05
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Tue Nov 26 22:07:47 2013 +0100
console/vsprintf: Implement snprintf
snprintf is a safe variant of sprintf. To avoid buffer overflows
we shouldn't use sprintf at all. But for now let's start by
implementing snprintf in first place.
Change-Id: Ic17d94b8cd91b72f66b84b0589a06b8abef5e5c9
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
See http://review.coreboot.org/4278 for details.
-gerrit