Skip to content

Fix typo that leads to the use of freed memory#4836

Merged
matejk merged 1 commit intopocoproject:mainfrom
peter15914:fix_sqlparser_typo
Jan 5, 2025
Merged

Fix typo that leads to the use of freed memory#4836
matejk merged 1 commit intopocoproject:mainfrom
peter15914:fix_sqlparser_typo

Conversation

@peter15914
Copy link
Copy Markdown
Contributor

The old message errorMsg_ must be freed before assignment to errorMsg_.
However, due to a typo, free() was called for the new message errorMsg.

@peter15914 peter15914 marked this pull request as ready for review January 2, 2025 23:38
@matejk matejk added this to the Release 1.14.1 milestone Jan 5, 2025
@matejk matejk added the bug label Jan 5, 2025
@matejk matejk merged commit 79888c0 into pocoproject:main Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants