Don't use strlen() to calculate the length of
authorFabian Keil <fk@fabiankeil.de>
Fri, 5 Jan 2007 15:46:12 +0000 (15:46 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 5 Jan 2007 15:46:12 +0000 (15:46 +0000)
commit863e576592f86370bee46a442292d2e4930b3fd9
tree8e5e05d3610ad08b6f57ace9fc828874e986dfa7
parent04aa89ebca169045e35eca0cdc57600db62b1e09
Don't use strlen() to calculate the length of
the pcrs substitutes. They don't have to be valid C
strings and getting their length wrong can result in
user-controlled memory corruption.

Thanks to Felix Gröbert for reporting the problem
and providing the fix [#1627140].
AUTHORS
pcrs.c
pcrs.h