Repository navigation
Commit c20ec94
committed
[KERNEL32] Check for null buffer in GetEnviornmentVariableW
Checks if lpBuffer is null before writing the null terminator to the end of it. This prevents some crashes in the kernel32 winetest sync to wine-10.0.1 parent 02875de commit c20ec94
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
| 208 | + | |
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| |||
0 commit comments