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
1 changed files with 1 additions and 1 deletions

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.