forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4d924bd
committed
Tighten up overflow check in path_recv, pursuant to code review inspired
by Ken Ashcraft's report. I think there is no actual bug here since ifthe int32 value does wrap a little bit, palloc will still reject it.Still it's better that the code be obviously correct.1 parent0a54441 commit4d924bd
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1383 | 1383 |
| |
1384 | 1384 |
| |
1385 | 1385 |
| |
1386 |
| - | |
| 1386 | + | |
1387 | 1387 |
| |
1388 | 1388 |
| |
1389 | 1389 |
| |
|
0 commit comments
Comments
(0)