1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2016-05-15 13:45:03 +02:00
parent 1fde4430fb
commit 8d5599ba59

View file

@ -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.