diff options
Diffstat (limited to 'intl/dcigettext.c')
-rw-r--r-- | intl/dcigettext.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intl/dcigettext.c b/intl/dcigettext.c index 864b787..da6d88a 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -524,8 +524,7 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) /* When this is a SUID binary we must not allow accessing files outside the dedicated directories. */ - if (ENABLE_SECURE - && memchr (single_locale, '/', single_locale) != NULL) + if (ENABLE_SECURE && strchr (single_locale, '/') != NULL) /* Ingore this entry. */ continue; } |