Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libkmod: check for trailing \0 in __ksymtab_strings
As per the documentation (man 5 elf) the section must be null terminated. Move the check further up and remove the no longer needed code trying to workaround non-compliant instances. Note: drop the erroneous +1 in the overflow (malloc size) calculation Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Tobias Stoeckmann <[email protected]> Link: #210 Signed-off-by: Lucas De Marchi <[email protected]>
- Loading branch information