diff options
author | Clint Adams <clint@users.sourceforge.net> | 2002-08-22 16:00:28 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2002-08-22 16:00:28 +0000 |
commit | 271732333202492d726336113a01cb3349ef26eb (patch) | |
tree | 5d03267bd1eff35f848ecb31abedc4b4916db175 | |
parent | 81c515947603e637de480a33d382175988ec011a (diff) | |
download | zsh-271732333202492d726336113a01cb3349ef26eb.tar.gz zsh-271732333202492d726336113a01cb3349ef26eb.tar.xz zsh-271732333202492d726336113a01cb3349ef26eb.zip |
17571: backport of terminfo segfault fix from 4.1.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/Modules/terminfo.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 054563f5f..b4c8944d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-08-22 Clint Adams <clint@zsh.org> + + * 17571: Src/Modules/terminfo.c: backport of terminfo segfault + fix from 4.1. + 2002-08-19 Felix Rosencrantz <f_rosencrantz@yahoo.com> * 16863, 17562: Completion/Unix/Command/.distfiles: diff --git a/Src/Modules/terminfo.c b/Src/Modules/terminfo.c index bcc7dd54d..ca54a333e 100644 --- a/Src/Modules/terminfo.c +++ b/Src/Modules/terminfo.c @@ -198,6 +198,8 @@ getterminfo(HashTable ht, char *name) { pm->u.str = dupstring(tistr); pm->flags |= PM_SCALAR; + pm->sets.cfn = NULL; + pm->gets.cfn = strgetfn; } else { |