Skip to content
Snippets Groups Projects

UBsan fix for RNG

Merged Matthieu Schaller requested to merge UBsan_random into master

Add an explicit cast to uint32_t in inl_erand48() to silence a runtime error from the undefined behaviour sanitizer.

Fixes #606 (closed).

I am getting fed up with UBsan reporting this continuously and hence generating too much noise.

Edited by Matthieu Schaller

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
Please register or sign in to reply
Loading