journal: fix buffer overrun when urlifying

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21122.

message is only valid until message_len, and we need to make sure we're not
reading pass that. Bug introduced in 2108b56749.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-06-25 08:51:21 +02:00
parent db3b8d5d41
commit 85fbebe61a
2 changed files with 6 additions and 3 deletions
Binary file not shown.