Blame lib/memchr.valgrind

Packit 8f70b4
# Suppress a valgrind message about use of uninitialized memory in memchr().
Packit 8f70b4
# POSIX states that when the character is found, memchr must not read extra
Packit 8f70b4
# bytes in an overestimated length (for example, where memchr is used to
Packit 8f70b4
# implement strnlen).  However, we use a safe word read to provide a speedup.
Packit 8f70b4
{
Packit 8f70b4
    memchr-value4
Packit 8f70b4
    Memcheck:Value4
Packit 8f70b4
    fun:rpl_memchr
Packit 8f70b4
}
Packit 8f70b4
{
Packit 8f70b4
    memchr-value8
Packit 8f70b4
    Memcheck:Value8
Packit 8f70b4
    fun:rpl_memchr
Packit 8f70b4
}