Skip to content

uintptr_t does not maintain provenance information#19

Open
josephproject1 wants to merge 2 commits intojeremysinger:mainfrom
josephproject1:jkaberuka1
Open

uintptr_t does not maintain provenance information#19
josephproject1 wants to merge 2 commits intojeremysinger:mainfrom
josephproject1:jkaberuka1

Conversation

@josephproject1
Copy link

You might use uintptr_t for pointer arithmetic in a standard C program, however, this might not maintain provenance information, making it prone to certain risks.

A pointer address is stored as uintptr_t and perform an arithmetic operation that exceeds the bounds of the array. There is no runtime checks to prevent accessing invalid memory, and can lead to undefined behaviors or vulnerabilities

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