Skip to content

fix(cpp): resolve memory leak and out-of-bounds access in row dimensions - #4194

Merged
chaokunyang merged 1 commit into
apache:mainfrom
dnmohanty:fix-row-memory-leak
Nov 2, 2026
Merged

chaokunyang merged 1 commit into
apache:mainfrom
dnmohanty:fix-row-memory-leak

Conversation

@dnmohanty

Copy link
Copy Markdown
Contributor

This PR prevents a potential out-of-bounds array access (segmentation fault) and memory leak during early returns in row.cc, identified and verified using clang-tidy

@dnmohanty
dnmohanty force-pushed the fix-row-memory-leak branch 2 times, most recently from d8da0dd to e32bc24 Compare October 23, 2026 22:21
Signed-off-by: Durgesh Nandan Mohanty <durgeshnandanmohanty@gmail.com>
@dnmohanty
dnmohanty force-pushed the fix-row-memory-leak branch from e32bc24 to 02e79d7 Compare October 23, 2026 22:24

@chaokunyang chaokunyang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chaokunyang
chaokunyang merged commit 49b37d5 into apache:main Nov 2, 2026
70 checks passed
@dnmohanty
dnmohanty deleted the fix-row-memory-leak branch November 2, 2026 09:58
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