Commit 0edffb1
authored
[NEWDEV] CHSourceDlgProc: Don't set CustomSearchPath member to stack allocated buffer (reactos#8447)
Fixes a crash when installing a driver from custom directory.
Also move the combobox handling code to the PrepareFoldersToScan() and call it instead.
CORE-204091 parent f6a86c1 commit 0edffb1
2 files changed
Lines changed: 21 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| 476 | + | |
476 | 477 | | |
477 | 478 | | |
478 | 479 | | |
| |||
492 | 493 | | |
493 | 494 | | |
494 | 495 | | |
495 | | - | |
| 496 | + | |
| 497 | + | |
496 | 498 | | |
497 | 499 | | |
498 | 500 | | |
| |||
526 | 528 | | |
527 | 529 | | |
528 | 530 | | |
529 | | - | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
530 | 534 | | |
531 | 535 | | |
532 | 536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
| 687 | + | |
688 | 688 | | |
689 | | - | |
690 | | - | |
691 | 689 | | |
692 | 690 | | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
699 | 695 | | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
704 | 702 | | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
| 703 | + | |
713 | 704 | | |
714 | 705 | | |
715 | 706 | | |
716 | 707 | | |
717 | 708 | | |
718 | 709 | | |
719 | 710 | | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
720 | 714 | | |
721 | 715 | | |
722 | 716 | | |
| |||
0 commit comments