aboutsummaryrefslogtreecommitdiff
path: root/src/includes/rc-misc.h
diff options
context:
space:
mode:
authorNatanael Copa <natanael.copa@gmail.com>2013-09-26 08:17:07 +0000
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-10-04 14:02:02 -0500
commit03c67bcc2727a3e61a168c7dfac98a3dd49c7d79 (patch)
tree63477b004f59a4dd20869ecb8320025df2b1a2a2 /src/includes/rc-misc.h
parent681a37e7bd64a1cdc39613e7ded594dda8e98208 (diff)
librc: fix a read off-by-one bug
We should first check if we are within bounds and then read rather than the opposite. This makes valgrind happy. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Diffstat (limited to 'src/includes/rc-misc.h')
0 files changed, 0 insertions, 0 deletions