summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/hack-coff.c
diff options
context:
space:
mode:
authorJim Keniston <jkenisto@us.ibm.com>2010-11-11 18:54:27 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-11-30 04:43:51 (GMT)
commit6024ede9ba84aa1b891c2d6bc98eda07801235e5 (patch)
treefa7a2c4c991ae4b5d3b083944394a4e0ecf02591 /arch/powerpc/boot/hack-coff.c
parent690d1a9bd14bd861328ca66473a223f60cf1ad31 (diff)
downloadlinux-fsl-qoriq-6024ede9ba84aa1b891c2d6bc98eda07801235e5.tar.xz
powerpc/nvram: Handle partition names >= 12 chars
The name field in the nvram_header can be < 12 chars, null-terminated, or 12 chars without the null. Handle this safely. Signed-off-by: Jim Keniston <jkenisto@us.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/hack-coff.c')
0 files changed, 0 insertions, 0 deletions