diff options
author | Mark H Weaver <mhw@netris.org> | 2019-05-29 15:31:42 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2019-06-18 02:05:20 -0400 |
commit | a23ee74fab7f192a8b3da76554d27944821754f8 (patch) | |
tree | 793e8892f497d1534d7e58b8cf994815a59ce67e /doc/ref/api-memory.texi | |
parent | 75f3ba77596851724079670775e6c3ba3daf5929 (diff) | |
download | guile-a23ee74fab7f192a8b3da76554d27944821754f8.tar.gz |
scm_to_stringn: Avoid passing NULL to c_strcasecmp.
Reported by Massimiliano Gubinelli <m.gubinelli@gmail.com> in
<https://lists.gnu.org/archive/html/guile-user/2019-05/msg00070.html>.
* libguile/strings.c (scm_to_stringn): Check for (encoding == NULL)
before passing it to 'c_strcasecmp'. Eliminate redundant 'enc'
variable.
Diffstat (limited to 'doc/ref/api-memory.texi')
0 files changed, 0 insertions, 0 deletions