Skip to content

Comments

fix: Use the correct syscall for process_vm_readv#4

Merged
Swatinem merged 4 commits intomasterfrom
fix/correct-vmread
Jun 29, 2021
Merged

fix: Use the correct syscall for process_vm_readv#4
Swatinem merged 4 commits intomasterfrom
fix/correct-vmread

Conversation

@Swatinem
Copy link

It seems that some code added in ivanarh@af11b0c#diff-3110c28650da71aad0da90c7564871442ba3651cdb2e3eed5f14b85007568c97R295 and 453f55d#diff-3110c28650da71aad0da90c7564871442ba3651cdb2e3eed5f14b85007568c97R27 was wrong and the calls to process_vm_readv were incorrect, and the code retried using a straight memcpy, which possibly lead to some segfaults.

The new changes use the exported function directly on newer Android releases, and create a functioning wrapper for older Android versions.

@Swatinem
Copy link
Author

@Swatinem Swatinem merged commit a4c27d4 into master Jun 29, 2021
@Swatinem Swatinem deleted the fix/correct-vmread branch June 29, 2021 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant