Skip to content
Snippets Groups Projects

Throw before reaching undefined behavior on AlignedNumber allocation

All threads resolved!

With this commit, AlignedNumber throws an exception whenever a placement new is made with a misaligned address. This should effectively catch an undefined behavior on the library implementations of operator new() under misaligned addresses.

Edited by Santiago Ospina De Los Ríos

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • 13bb2a67 - Throw before reaching undefined behavior on AlignedNumber allocation

    Compare with previous version

  • Simon Praetorius added 18 commits

    added 18 commits

    Compare with previous version

  • resolved all threads

  • mentioned in commit aa5e86be

  • mentioned in merge request !1505 (merged)

  • Santiago Ospina De Los Ríos mentioned in merge request !1419

    mentioned in merge request !1419

  • Please register or sign in to reply
    Loading