diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-07-30 00:50:28 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-07-30 00:50:28 +0200 |
commit | dc8daef33d985794b392b20d5fcad51e73d846b5 (patch) | |
tree | 831b371448ffea95737fa391e6b986d78293dd18 /src/core/wee-hashtable.c | |
parent | a56c1097dccbe4f08e4155a5e4021d339a4bd63c (diff) | |
download | weechat-dc8daef33d985794b392b20d5fcad51e73d846b5.zip |
core: fix crash when building hashtable string with keys and values
Diffstat (limited to 'src/core/wee-hashtable.c')
-rw-r--r-- | src/core/wee-hashtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-hashtable.c b/src/core/wee-hashtable.c index 57c9c510f..f33db8c25 100644 --- a/src/core/wee-hashtable.c +++ b/src/core/wee-hashtable.c @@ -554,7 +554,7 @@ hashtable_compute_length_values_cb (void *data, } else { - *length += strlen ("(null)"); + *length += strlen ("(null)") + 1; } } |