[core] fix buffer_copy_string_hex() assert (fixes #2742)
commitebf3af8b1278e3cd929467d66d48ed27f6e5302c
authorGlenn Strauss <gstrauss@gluelogic.com>
Sat, 30 Jul 2016 06:48:20 +0000 (30 02:48 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Sat, 30 Jul 2016 06:48:20 +0000 (30 02:48 -0400)
tree0b62b1ba327af346a50d1ecb828b4a22af858f64
parentacd5e450b5b913c5ebd179292f120d18ade0b184
[core] fix buffer_copy_string_hex() assert (fixes #2742)

fix buffer_copy_string_hex() passing incorrect length to li_tohex()

(thx Isibaar)

x-ref:
  "Assert wrongly triggered in buffer_copy_string_hex()"
  https://redmine.lighttpd.net/issues/2742
src/buffer.c