lp:~gero-bare/midori/midori-fix-undef-behavior
Created by
Gero.Bare
and last modified
- Get this branch:
- bzr branch lp:~gero-bare/midori/midori-fix-undef-behavior
Branch merges
Propose for merging
No branches
dependent on this one.
- Cris Dywan: Approve
-
Diff: 34 lines (+14/-3)1 file modifiedextensions/mouse-gestures.c (+14/-3)
Branch information
Recent revisions
- 6826. By Gero.Bare
-
Fix undefined behavior substracting 2 unsigned int, x1 - x2, if the second one is greater than the previous the value wraps around to MAX_UINT.
Fix undefined behavior, Constart M_PI is double, automatically promotes
other operands from float to double. The result is passed to a fuction that recieves Float this will lead to erroneous result.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:midori