forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1d80d6b
committed
Further reduce dependence on -fwrapv semantics in jsonb.
Commit108d2ad missed updating a few places in the jsonb codethat rely on signed integer wrapping for correctness. These canalso be fixed by using pg_abs_s32() to negate a signed integer(that is known to be negative) for comparison with an unsignedinteger.Reported-by: Alexander LakhinDiscussion:https://postgr.es/m/bfff906f-300d-81ea-83b7-f2c93845e7f2%40gmail.com1 parentaa2d6b1 commit1d80d6b
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
990 | 990 |
| |
991 | 991 |
| |
992 | 992 |
| |
993 |
| - | |
| 993 | + | |
994 | 994 |
| |
995 | 995 |
| |
996 | 996 |
| |
| |||
4811 | 4811 |
| |
4812 | 4812 |
| |
4813 | 4813 |
| |
4814 |
| - | |
| 4814 | + | |
4815 | 4815 |
| |
4816 | 4816 |
| |
4817 | 4817 |
| |
|
0 commit comments
Comments
(0)