Skip to content

Bugfix: Memcpy on shortcircuit#570

Merged
treo merged 2 commits intomainfrom
pd/bugfix_memcpy_on_shortcircuit
Apr 26, 2022
Merged

Bugfix: Memcpy on shortcircuit#570
treo merged 2 commits intomainfrom
pd/bugfix_memcpy_on_shortcircuit

Conversation

@treo
Copy link
Contributor

@treo treo commented Apr 26, 2022

When switching to external resource management, we've missed updating the short circuit logic for handling the "everything will end up in its own group anyway"-case.

That resulted in a weird edge case where sometimes things would crash because the pointers of two memory regions would converge and freeing the temporary memory region would result in also freeing the result memory.

@treo treo marked this pull request as ready for review April 26, 2022 15:30
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@treo treo merged commit 9e8544b into main Apr 26, 2022
@treo treo deleted the pd/bugfix_memcpy_on_shortcircuit branch April 27, 2022 06: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.

1 participant