Commit 071feb4
Vadim Belov
Initialize WIN32_FIND_DATA fields before calling GetPath
Fully initialize all fields of WIN32_FIND_DATAW.Data and set dwFileAttributes of WIN32_FIND_DATAA.Data to 0 before passing them to the respective GetPath methods. This prevents potential issues from uninitialized structure data.1 parent 7c8c8b4 commit 071feb4
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
733 | 743 | | |
734 | 744 | | |
735 | 745 | | |
736 | 746 | | |
737 | 747 | | |
| 748 | + | |
738 | 749 | | |
739 | 750 | | |
740 | 751 | | |
| |||
0 commit comments