Define lrot in a way that doesn't involve UB when n==0. Also, the previous patch ensures that n <= 15 for all callers of stbi__extend_receive, so can remove the (less restrictive) bounds check for 0 <= n < 17 (the bounds of stbi__bmask) entirely. Fixes issue #1065.master
parent
86b7570cfb
commit
265b73bb0b
1 changed files with 1 additions and 2 deletions
Loading…
Reference in New Issue