Created attachment 180816 [details]
We have found and fixed a bug using PVS-Studio tool. PVS-Studio is a static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/
Analyzer warning: V778 Two similar code fragments were found. Perhaps, this is a typo and 'cap_resy' variable should be used instead of 'cap_resx'. cyapa.c 1458
Fixed in current, thank you for providing the patch. Will MFC to 11 as well.
A commit references this bug:
Date: Tue Aug 8 13:27:32 UTC 2017
New revision: 322253
Fix typo in cyapa out of bounds check.
Submitted by: firstname.lastname@example.org
MFC after: 1 week