Skip to content

Fix heap use after free in device vector transform#578

Merged
marchdf merged 1 commit intodevelopmentfrom
fix-heap-after-free
Oct 27, 2025
Merged

Fix heap use after free in device vector transform#578
marchdf merged 1 commit intodevelopmentfrom
fix-heap-after-free

Conversation

@marchdf
Copy link
Copy Markdown
Contributor

@marchdf marchdf commented Oct 27, 2025

This PR removes this error:

==3652521==ERROR: AddressSanitizer: heap-use-after-free on address 0x7b729e858630 at pc 0x5608147fd075 bp 0x7ffd2739bc10 sp 0x7ffd2739bc08
READ of size 4 at 0x7b729e858630 thread T0

which comes because we immediately take a pointer to a vector which is only stored as a temporary and gets destroyed and so the pointer points to nothing.

@marchdf marchdf force-pushed the fix-heap-after-free branch from b16c95f to 734f783 Compare October 27, 2025 19:06
@marchdf marchdf enabled auto-merge (squash) October 27, 2025 19:07
@marchdf marchdf merged commit 556a7ab into development Oct 27, 2025
24 checks passed
@marchdf marchdf deleted the fix-heap-after-free branch October 27, 2025 20:33
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