forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit417c9ce
committed
Further patch rangetypes_selfuncs.c's statistics slot management.
Values in a STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM slot are float8,not of the type of the column the statistics are for.This bug is at least partly the fault of sloppy specification commentsfor get_attstatsslot()/free_attstatsslot(): the type OID they want is thatof the stavalues entries, not of the underlying column. (I double-checkedother callers and they seem to get this right.) Adjust the comments to bemore correct.Per buildfarm.Security:CVE-2017-74841 parent73b1aee commit417c9ce
File tree
3 files changed
+15
-12
lines changed- src
- backend/utils
- adt
- cache
- include/catalog
3 files changed
+15
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
249 | | - | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
251 | 253 | | |
252 | 254 | | |
253 | 255 | | |
254 | 256 | | |
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
258 | | - | |
| 260 | + | |
259 | 261 | | |
260 | 262 | | |
261 | 263 | | |
| |||
424 | 426 | | |
425 | 427 | | |
426 | 428 | | |
427 | | - | |
| 429 | + | |
428 | 430 | | |
429 | 431 | | |
430 | 432 | | |
| |||
438 | 440 | | |
439 | 441 | | |
440 | 442 | | |
441 | | - | |
| 443 | + | |
442 | 444 | | |
443 | 445 | | |
444 | 446 | | |
| |||
578 | 580 | | |
579 | 581 | | |
580 | 582 | | |
581 | | - | |
| 583 | + | |
582 | 584 | | |
583 | 585 | | |
584 | 586 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2711 | 2711 | | |
2712 | 2712 | | |
2713 | 2713 | | |
2714 | | - | |
2715 | | - | |
2716 | | - | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
2717 | 2717 | | |
2718 | 2718 | | |
2719 | 2719 | | |
2720 | 2720 | | |
2721 | 2721 | | |
2722 | 2722 | | |
2723 | 2723 | | |
2724 | | - | |
| 2724 | + | |
2725 | 2725 | | |
2726 | 2726 | | |
2727 | 2727 | | |
| |||
2851 | 2851 | | |
2852 | 2852 | | |
2853 | 2853 | | |
2854 | | - | |
| 2854 | + | |
| 2855 | + | |
2855 | 2856 | | |
2856 | 2857 | | |
2857 | 2858 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
0 commit comments
Comments
(0)