memxor3 could lead to invalid mem accesses

2013-12-26 Thread Nikos Mavrogiannopoulos
Hello and best wishes for new year, I was debugging an invalid memory access in gnutls and realized that the issue is in memxor3 of nettle (2.7.x branch). I have not yet a fix for that, but the attached patch modifies the memxor-test.c to reproduce the issue. regards, Nikos $ valgrind ./memxor

Re: memxor3 could lead to invalid mem accesses

2013-12-26 Thread Niels Möller
Nikos Mavrogiannopoulos writes: > I was debugging an invalid memory access in gnutls and realized that > the issue is in memxor3 of nettle (2.7.x branch). I have not yet a fix > for that, but the attached patch modifies the memxor-test.c to reproduce > the issue. Hmm. If you have, e.g., a 14