- Notifications
You must be signed in to change notification settings - Fork28
Commit52635c2
committed
Fix tuple printing in error message of tuple routing for partitions
With correctly crafted DDLs, this could lead to disclosure of arbitrarybackend memory a user may have no right to access. This impacts onlyREL_11_STABLE, as the issue has been introduced by34295b8.On HEAD, add regression tests to cover this issue in the future.Author: Michael PaquierReviewed-by: Noah MischSecurity:CVE-2019-101291 parent98dad4c commit52635c2
File tree
3 files changed
+26
-4
lines changed- src
- backend/executor
- test/regress
- expected
- sql
3 files changed
+26
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
329 | 329 |
| |
330 | 330 |
| |
331 | 331 |
| |
332 |
| - | |
333 |
| - | |
334 |
| - | |
335 |
| - | |
336 | 332 |
| |
337 | 333 |
| |
338 | 334 |
| |
| |||
348 | 344 |
| |
349 | 345 |
| |
350 | 346 |
| |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
351 | 351 |
| |
352 | 352 |
| |
353 | 353 |
| |
|
Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
637 | 637 |
| |
638 | 638 |
| |
639 | 639 |
| |
| 640 | + | |
| 641 | + | |
| 642 | + | |
640 | 643 |
| |
641 | 644 |
| |
642 | 645 |
| |
643 | 646 |
| |
644 | 647 |
| |
645 | 648 |
| |
646 | 649 |
| |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
647 | 656 |
| |
648 | 657 |
| |
649 | 658 |
| |
| |||
660 | 669 |
| |
661 | 670 |
| |
662 | 671 |
| |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
663 | 678 |
| |
664 | 679 |
| |
665 | 680 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
409 | 409 |
| |
410 | 410 |
| |
411 | 411 |
| |
| 412 | + | |
| 413 | + | |
| 414 | + | |
412 | 415 |
| |
413 | 416 |
| |
414 | 417 |
| |
415 | 418 |
| |
416 | 419 |
| |
417 | 420 |
| |
418 | 421 |
| |
| 422 | + | |
| 423 | + | |
419 | 424 |
| |
420 | 425 |
| |
421 | 426 |
| |
| |||
425 | 430 |
| |
426 | 431 |
| |
427 | 432 |
| |
| 433 | + | |
| 434 | + | |
428 | 435 |
| |
429 | 436 |
| |
430 | 437 |
| |
|
0 commit comments
Comments
(0)