Skip to content

Free *strp, not str in sudo#508

Merged
millert merged 1 commit intosudo-project:mainfrom
SiliconA-Z:free
Dec 18, 2025
Merged

Free *strp, not str in sudo#508
millert merged 1 commit intosudo-project:mainfrom
SiliconA-Z:free

Conversation

@SiliconA-Z
Copy link
Copy Markdown
Contributor

Str is a pointer inside the buffer. Plus, set strsize to 0 afterwards to not write to str.

Set strsize to 0 afterwards to not write to str.
@millert millert merged commit 084bf69 into sudo-project:main Dec 18, 2025
5 checks passed
@SiliconA-Z SiliconA-Z deleted the free branch December 18, 2025 23:17
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.

2 participants