- Notifications
You must be signed in to change notification settings - Fork5
Commit616bceb
committed
Avoid integer overflow in the loop that extracts histogram entries from
ANALYZE's total sample. The original coding is at risk of overflow forstatistics targets exceeding about 2675; this was not a problem before8.4 but it is now. Per bug #4793 from Dennis Noordsij.1 parent5d540ad commit616bceb
1 file changed
+28
-4
lines changedLines changed: 28 additions & 4 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 |
| |
| |||
2260 | 2260 |
| |
2261 | 2261 |
| |
2262 | 2262 |
| |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
2263 | 2267 |
| |
2264 | 2268 |
| |
2265 | 2269 |
| |
| |||
2313 | 2317 |
| |
2314 | 2318 |
| |
2315 | 2319 |
| |
| 2320 | + | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
2316 | 2334 |
| |
2317 | 2335 |
| |
2318 |
| - | |
2319 |
| - | |
2320 |
| - | |
2321 | 2336 |
| |
2322 | 2337 |
| |
2323 | 2338 |
| |
| 2339 | + | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
| 2343 | + | |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
2324 | 2347 |
| |
| 2348 | + | |
2325 | 2349 |
| |
2326 | 2350 |
| |
2327 | 2351 |
| |
|
0 commit comments
Comments
(0)