[IA64] Fix a possible buffer overflow in efi.c
authorZou Nan hai <nanhai.zou@intel.com>
Tue, 7 Feb 2006 03:25:55 +0000 (11:25 +0800)
committerTony Luck <tony.luck@intel.com>
Tue, 7 Feb 2006 18:59:37 +0000 (10:59 -0800)
commitecdd5dabd33d67066d476467e447cdcadab90550
treec2387dcd3e1926193cec6db89ceac75dd63e207c
parentd43da75fd6be4197c280903e1553eafcc39218e2
[IA64] Fix a possible buffer overflow in efi.c

Make sure to save space for the trailing '\0'.

Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/efi.c