Commit 3e271481 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

src: Fix invalid memory access

parent 68866f53
......@@ -938,7 +938,7 @@ parse_next_link_header_once(const char *first, const char *last) {
almost_done:
assert(first == last || *first == ',');
if (*first == ',') {
if (first != last) {
++first;
}
if (ok && !ign) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment