Commit 82fb346
authored
Fix NtUserOpenClipboard (#2558)
This pull request updates the definition for `NtUserOpenClipboard` to
reflect that the syscall writes to a pointer provided in the second
argument. `OpenClipboard` passes an address of a local variable to this
parameter and then reads from it, causing the following warning:
```
Error #1: UNINITIALIZED READ: reading 0x00000092296ff998-0x00000092296ff99c 4 byte(s)
# 0 USER32.dll!OpenClipboard
# 1 main
Note: @0:00:00.082 in thread 11352
Note: instruction: cmp 0x38(%rsp) $0x00000000
```1 parent fbc75a3 commit 82fb346
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
1344 | | - | |
| 1344 | + | |
1345 | 1345 | | |
1346 | 1346 | | |
1347 | 1347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2494 | 2494 | | |
2495 | 2495 | | |
2496 | 2496 | | |
2497 | | - | |
| 2497 | + | |
2498 | 2498 | | |
2499 | 2499 | | |
2500 | 2500 | | |
| |||
0 commit comments