Skip to content

Fix: strcpy on possible NULL value might cause UB#1857

Open
HelifeWasTaken wants to merge 1 commit intotursodatabase:mainfrom
HelifeWasTaken:patch-1
Open

Fix: strcpy on possible NULL value might cause UB#1857
HelifeWasTaken wants to merge 1 commit intotursodatabase:mainfrom
HelifeWasTaken:patch-1

Conversation

@HelifeWasTaken
Copy link

I may be wrong but using strcpy on a NULL value might cause Undefined Behaviour and could potentially be an attack vector

@HelifeWasTaken HelifeWasTaken changed the title Fix: strcpy on possible NULL value Fix: strcpy on possible NULL value might cause UB Nov 29, 2024
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