commit | bf4c9fbe91674463feae4526582109a34dd24502 | [log] [tgz] |
---|---|---|
author | Duncan Laurie <dlaurie@chromium.org> | Tue Oct 23 18:04:43 2012 +0000 |
committer | Simon Glass <sjg@chromium.org> | Thu Dec 06 14:30:40 2012 -0800 |
tree | 898b5f0865d20b308db69354c021abc547d13e9f | |
parent | 5dfabfa93b3997e3d76bbef5933b8ba2feefa51c [diff] |
x86: Fix off-by-one error in do_elf_reloc_fixups() The use of post-increment with a do-while loop results in the loop going one step too far when handling relocation fixups. In about 1/100 cases this would cause it to hang. Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>