diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-10-02 14:29:55 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2018-10-02 14:29:55 +0000 |
commit | 7fc46bb79f04fd0ba77284382c0ce4a74f34f2a3 (patch) | |
tree | 2105c0c18fca6cf800c68091874cf4ff1be08fc7 /lib/libpbmfont2.c | |
parent | e227331a6b5626e100705fcff3269fd8479ea988 (diff) | |
download | netpbm-mirror-7fc46bb79f04fd0ba77284382c0ce4a74f34f2a3.tar.gz netpbm-mirror-7fc46bb79f04fd0ba77284382c0ce4a74f34f2a3.tar.xz netpbm-mirror-7fc46bb79f04fd0ba77284382c0ce4a74f34f2a3.zip |
Release 10.84.01
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3369 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/libpbmfont2.c')
-rw-r--r-- | lib/libpbmfont2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpbmfont2.c b/lib/libpbmfont2.c index 0ee7169c..e7189921 100644 --- a/lib/libpbmfont2.c +++ b/lib/libpbmfont2.c @@ -728,7 +728,7 @@ doCharsetRegistry(Readline * const readlineP, pm_message("CHARSET_REGISTRY in BDF font file is too long. " "Truncating"); - *registryP = strndup(readlineP->arg[1], maxTokenLen); + *registryP = pm_strdup(readlineP->arg[1]); *gotRegistryP = true; } |