aboutsummaryrefslogtreecommitdiff
path: root/cmd-queue.c
diff options
context:
space:
mode:
authornicm <nicm>2014-04-11 19:35:54 +0000
committernicm <nicm>2014-04-11 19:35:54 +0000
commitb8bda67f304b7c70dee891b7ca660036793c2a4b (patch)
treedded327c5a855dddbbdddf68220868207dca3b10 /cmd-queue.c
parent73c5a487c1b0f10bbc36479f425fb9cea512be7b (diff)
downloadrtmux-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