Skip to content
Snippets Groups Projects
Commit 9e054f18 authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

xrow: fix request_str crash on long requests

If tt_static_buf is too small to store the request string, 'pos' will
become greater than 'end', leading to snprintf(pos, end - pos) crash, as
it doesn't allow the buffer size to be negative. Use SNPRINT instead.
parent a6374289
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment