diff options
author | nicm <nicm> | 2014-04-11 19:35:54 +0000 |
---|---|---|
committer | nicm <nicm> | 2014-04-11 19:35:54 +0000 |
commit | b8bda67f304b7c70dee891b7ca660036793c2a4b (patch) | |
tree | dded327c5a855dddbbdddf68220868207dca3b10 /cmd-queue.c | |
parent | 73c5a487c1b0f10bbc36479f425fb9cea512be7b (diff) | |
download | rtmux-b8bda67f304b7c70dee891b7ca660036793c2a4b.tar.gz rtmux-b8bda67f304b7c70dee891b7ca660036793c2a4b.tar.bz2 rtmux-b8bda67f304b7c70dee891b7ca660036793c2a4b.zip |
Don't blindly increase offsets by the return value of snprintf, if there
wasn't enough space this will go off the end. Instead clamp to the
available space. Fixes crash reported by Julien Rebetez.
Diffstat (limited to 'cmd-queue.c')
0 files changed, 0 insertions, 0 deletions