Patch proposal Here is my proposal for a patch. I don't think that it is good to break from that while loop because there can be some data in next iteration over elf_getdata(). Next thing is that the first patch doesn't continue in project code style.