[PATCH 0/2] ensure never overflow by adding '\0' to strncpy strings

Colin King colin.king at canonical.com
Tue Nov 6 16:19:28 UTC 2012


From: Colin Ian King <colin.king at canonical.com>

Add '\0' to end of strncpy strings.

Colin Ian King (2):
  cpu: microcode: ensure we don't overflow with strncpy
  pci: maxreadreq: ensure we don't overflow with strncpy

 src/cpu/microcode/microcode.c   |    3 ++-
 src/pci/maxreadreq/maxreadreq.c |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

-- 
1.7.10.4




More information about the fwts-devel mailing list