mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix shift out of bounds in fnmatch(3).
This commit is contained in:
parent
1fde4430fb
commit
8d5599ba59
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#define __FNM_NOT_LEADING (1 << 31)
|
||||
#define __FNM_NOT_LEADING (1 << 30)
|
||||
|
||||
// TODO: This doesn't properly handle multibyte sequences.
|
||||
// TODO: This doesn't fully implement all the POSIX requirements.
|
||||
|
|
Loading…
Reference in a new issue