tree d67bdafebbd2572a24e6371fc5d0ec53a8ef1560
parent db5c7a49ce7ebda47b15b78471e78fb7f2483e22
author Timothy B. Terriberry <tterribe@xiph.org> 1718103264 -0700
committer Timothy B. Terriberry <tterribe@xiph.org> 1718381057 -0700

Fix UB reported by UBsan.

Also fix other instances of similar patterns.

Thanks to kunitoki for the report.

Fixes #2305
