- Notifications
You must be signed in to change notification settings - Fork5
Commit829757c
committed
pgbench: Install guards against obscure overflow conditions.
Dividing INT_MIN by -1 or taking INT_MIN modulo -1 can sometimescause floating-point exceptions or otherwise misbehave.Fabien Coelho and Michael Paquier1 parent40482e6 commit829757c
1 file changed
+34
-2
lines changedLines changed: 34 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
961 | 961 |
| |
962 | 962 |
| |
963 | 963 |
| |
964 |
| - | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
965 | 987 |
| |
966 | 988 |
| |
967 | 989 |
| |
| |||
970 | 992 |
| |
971 | 993 |
| |
972 | 994 |
| |
973 |
| - | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
974 | 1006 |
| |
975 | 1007 |
| |
976 | 1008 |
| |
|
0 commit comments
Comments
(0)