diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2001-01-08 16:33:57 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2001-01-08 16:33:57 +0000 |
commit | 0fc518a9da9ec8af36af17fbcb305cd6abd5d50e (patch) | |
tree | fce43e25d01652f5f10297023530c358fc730912 /intl | |
parent | 9fd7da6f29476ae9333723b6f58727b58d57661e (diff) |
Going through possible security problems with a fine comb. If you
want to help, check out the current source, and run check_sec.sh.
Diffstat (limited to 'intl')
-rw-r--r-- | intl/cat-compat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intl/cat-compat.c b/intl/cat-compat.c index f129f964..7a25fcfd 100644 --- a/intl/cat-compat.c +++ b/intl/cat-compat.c @@ -109,14 +109,14 @@ textdomain (domainname) if (new_name == NULL) return NULL; - strcpy (new_name, PACKAGE); + strcpy (new_name, PACKAGE); /* __STRCPY_CHECKED__ */ new_catalog = catopen (new_name, 0); if (new_catalog == (nl_catd) -1) { /* NLSPATH search didn't work, try absolute path */ sprintf (new_name, "%s/%s/LC_MESSAGES/%s.cat", LOCALEDIR, lang, - PACKAGE); + PACKAGE); /* __SPRINTF_CHECKED__ - sort of... */ new_catalog = catopen (new_name, 0); if (new_catalog == (nl_catd) -1) |