]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
super-intel: fix buffer overflow in detail-platform.
authorNeilBrown <neilb@suse.de>
Wed, 13 Jul 2011 02:38:50 +0000 (12:38 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 13 Jul 2011 02:38:50 +0000 (12:38 +1000)
commit664d53258de31362475b43658add0ebcf95be168
tree3aa1fcf9474cb421124b3094385e04a1e3b72159
parent1e49aaa0696e843d5ec0ae6709558e0fe51afc06
super-intel: fix buffer overflow in detail-platform.

The serial number is not necessarily nul terminated, so we need to be
sure to only use the allowed number of chars.

Signed-off-by: NeilBrown <neilb@suse.de>
Reported-by: Arvin Schnell <aschnell@novell.com>
super-intel.c