Fix buffer overrun in SRP (#7484)
authorred-001 <red-001@outlook.ie>
Tue, 26 Jun 2018 08:02:26 +0000 (09:02 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Tue, 26 Jun 2018 08:02:26 +0000 (10:02 +0200)
commit7bdf5eae05f63a98a13e520f98e68b9e7d9d544b
tree30b24c2fdc475ec96ab96ba95ad59fb5d2c6f4a5
parentae8ae6c9062cde3f8bc388f4ab23c6ff65b5af40
Fix buffer overrun in SRP (#7484)

The old code got a pointer to the array instead of the first element, this resulted in a buffer overflow when the function was used more than once.
src/util/srp.cpp