Commit cda9fd5
Fixed heap buffer overflow while loading signatures
There is a possible overflow read when loading PDB and WDB phishing
signatures.
This issue is not a vulnerability.
Changed const char pointers to uint8_t pointers when they are to be used
with data, as well as removing asserts and adding additional error
checking.
Thank you Michał Dardas for reporting this issue.1 parent 9c466f6 commit cda9fd5
5 files changed
Lines changed: 299 additions & 85 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
644 | 668 | | |
645 | 669 | | |
646 | | - | |
647 | | - | |
| 670 | + | |
| 671 | + | |
648 | 672 | | |
649 | 673 | | |
650 | 674 | | |
| |||
671 | 695 | | |
672 | 696 | | |
673 | 697 | | |
| 698 | + | |
674 | 699 | | |
| 700 | + | |
675 | 701 | | |
676 | 702 | | |
677 | 703 | | |
| |||
681 | 707 | | |
682 | 708 | | |
683 | 709 | | |
684 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
685 | 719 | | |
| 720 | + | |
| 721 | + | |
686 | 722 | | |
687 | 723 | | |
688 | 724 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1177 | 1177 | | |
1178 | 1178 | | |
1179 | 1179 | | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
1180 | 1193 | | |
1181 | 1194 | | |
1182 | 1195 | | |
| |||
1251 | 1264 | | |
1252 | 1265 | | |
1253 | 1266 | | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
1254 | 1292 | | |
0 commit comments