X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fconf%2Fconfstr.c;h=02cb1aa252dbb4c3362e17f9ed39f5d71c960989;hb=809ff8cf90254921ea38eb6fa1ce326d9008513b;hp=6e9c23a0812284088fa4bf54d3036d69b006a0a0;hpb=0a8d98285f46f721dabf38485df916c02d6a4675;p=oweals%2Fmusl.git diff --git a/src/conf/confstr.c b/src/conf/confstr.c index 6e9c23a0..02cb1aa2 100644 --- a/src/conf/confstr.c +++ b/src/conf/confstr.c @@ -7,7 +7,7 @@ size_t confstr(int name, char *buf, size_t len) const char *s = ""; if (!name) { s = "/bin:/usr/bin"; - } else if ((name&~4U)!=1 && name-_CS_POSIX_V6_ILP32_OFF32_CFLAGS>31U) { + } else if ((name&~4U)!=1 && name-_CS_POSIX_V6_ILP32_OFF32_CFLAGS>33U) { errno = EINVAL; return 0; }