diff options
author | Natanael Copa <natanael.copa@gmail.com> | 2013-09-26 08:17:07 +0000 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2013-10-04 14:02:02 -0500 |
commit | 03c67bcc2727a3e61a168c7dfac98a3dd49c7d79 (patch) | |
tree | 63477b004f59a4dd20869ecb8320025df2b1a2a2 /etc/rc.shutdown.in | |
parent | 681a37e7bd64a1cdc39613e7ded594dda8e98208 (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 'etc/rc.shutdown.in')
0 files changed, 0 insertions, 0 deletions