Blame lib/memchr.valgrind

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