diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-13 17:02:29 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-13 17:02:29 +0200 |
commit | 39006b8c897cdf5b73fa051317219ba3509f37ae (patch) | |
tree | 5da3d27eb73807c90a2e35e2d99e05a3a5c297c5 | |
parent | 5e149c5732323b95b4e97c21a40c1328b15bd776 (diff) | |
download | mblaze-39006b8c897cdf5b73fa051317219ba3509f37ae.tar.gz mblaze-39006b8c897cdf5b73fa051317219ba3509f37ae.tar.xz mblaze-39006b8c897cdf5b73fa051317219ba3509f37ae.zip |
blaze822: off by one in blaze822_mem
-rw-r--r-- | blaze822.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blaze822.c b/blaze822.c index 8934844..21a3b12 100644 --- a/blaze822.c +++ b/blaze822.c @@ -365,7 +365,7 @@ blaze822_mem(char *src, size_t len) return 0; memcpy(buf, src, hlen); - end = buf+hlen+1; + end = buf+hlen; *end = 0; // dereferencing *end is safe unfold_hdr(buf, end); |