commit | d6d21dfdd305bf94300df13ff472141d3411ea17 | [log] [tgz] |
---|---|---|
author | Darren Jenkins <darrenrjenkins@gmail.com> | Sun Mar 26 01:37:34 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Mar 26 08:56:57 2006 -0800 |
tree | 68468809491f981931db2d2bce4036d151289009 | |
parent | 3ac8bf077d0f13b9c3131dd61f9f76c78c322858 [diff] |
[PATCH] fix array overrun in efi.c Coverity found an over-run @ line 364 of efi.c This is due to the loop checking the size correctly, then adding a '\0' after possibly hitting the end of the array. Ensure the loop exits with one space left in the array. Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>