+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
In C, signed integer overflow results in undefined behavior, but unsigned overflow wraps around. So do the subtraction first, then cast to signed. Reported-by:Joakim Tjernlund <joakim.tjernlund@transmode.se> Signed-off-by:
Jim Rees <rees@umich.edu> Signed-off-by:
J. Bruce Fields <bfields@redhat.com>