Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: glob.c: added null check for character class
Add null check for character class. Previously, an inverted character class could result in a nul byte being matched and lead to the function reading past the end of the inputted string. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Alok Swaminathan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
- Loading branch information