openrc/src/librc
Natanael Copa 03c67bcc27 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>
2013-10-04 14:02:02 -05:00
..
.gitignore clean up gitignore files 2011-06-03 17:07:22 -04:00
librc-daemon.c Add support for DragonFly BSD 2013-07-25 22:33:24 -05:00
librc-depend.c librc: fix off-by-one bug 2013-10-04 14:01:46 -05:00
librc-misc.c librc: Do not output error messages from within the library. 2012-03-26 15:04:40 -05:00
librc-stringlist.c drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
librc.c librc: fix a read off-by-one bug 2013-10-04 14:02:02 -05:00
librc.h librc: make rc_proc_getent available for all operating systems 2012-02-25 15:00:03 -06:00
Makefile make BINDIR and SBINDIR available to input files 2013-02-23 20:30:39 -06:00
rc.h.in Do not add a prefix to the /run directory 2012-12-03 18:33:21 -06:00
rc.map Rename proc_getent to rc_proc_getent and make it global 2012-01-15 01:02:11 +01:00