boostorg / icl

Boost.org icl module
http://boost.org/libs/icl
10 stars 44 forks source link

Fix undefined behavior in interval_bounds::reverse_right() #11

Closed avikivity closed 6 years ago

avikivity commented 7 years ago

Found by gcc's ubsan. See commit log for details.

avikivity commented 7 years ago

Only the last commit is mine, because I based my commit on master but github wants to pull into develop. Let me know if I should redo it based on develop, or retarget the pull request into master.

duarten commented 7 years ago

+1

pdimov commented 6 years ago

Pull requests should be based on develop, yes.

avikivity commented 6 years ago

@pdimov I rebased on top of develop and force-pushed.