forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2e616de
committed
Fix crash with old libxml2
Certain libxml2 versions (such as the 2.7.6 commonly seen in olderdistributions, but apparently only on x86_64) contain a bug that causesxmlCopyNode, when called on a XML_DOCUMENT_NODE, to return a node thatxmlFreeNode crashes on. Arrange to call xmlFreeDoc instead ofxmlFreeNode for those nodes.Per buildfarm members lapwing and grison.Author: Pavel Stehule, light editing by Álvaro.Discussion:https://postgr.es/m/20190308024436.GA2374@alvherre.pgsql1 parent1b76168 commit2e616de
1 file changed
+40
-18
lines changedLines changed: 40 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3720 | 3720 |
| |
3721 | 3721 |
| |
3722 | 3722 |
| |
3723 |
| - | |
3724 |
| - | |
| 3723 | + | |
| 3724 | + | |
| 3725 | + | |
3725 | 3726 |
| |
3726 |
| - | |
| 3727 | + | |
| 3728 | + | |
| 3729 | + | |
3727 | 3730 |
| |
3728 |
| - | |
3729 |
| - | |
3730 |
| - | |
3731 |
| - | |
3732 |
| - | |
3733 |
| - | |
| 3731 | + | |
| 3732 | + | |
| 3733 | + | |
| 3734 | + | |
3734 | 3735 |
| |
3735 |
| - | |
3736 |
| - | |
3737 |
| - | |
| 3736 | + | |
| 3737 | + | |
| 3738 | + | |
| 3739 | + | |
| 3740 | + | |
| 3741 | + | |
| 3742 | + | |
| 3743 | + | |
| 3744 | + | |
| 3745 | + | |
| 3746 | + | |
| 3747 | + | |
| 3748 | + | |
| 3749 | + | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
| 3753 | + | |
| 3754 | + | |
| 3755 | + | |
| 3756 | + | |
| 3757 | + | |
| 3758 | + | |
3738 | 3759 |
| |
3739 |
| - | |
3740 |
| - | |
3741 |
| - | |
3742 | 3760 |
| |
3743 | 3761 |
| |
3744 | 3762 |
| |
3745 | 3763 |
| |
3746 |
| - | |
3747 |
| - | |
| 3764 | + | |
| 3765 | + | |
| 3766 | + | |
| 3767 | + | |
3748 | 3768 |
| |
3749 | 3769 |
| |
3750 | 3770 |
| |
3751 |
| - | |
| 3771 | + | |
| 3772 | + | |
| 3773 | + | |
3752 | 3774 |
| |
3753 | 3775 |
| |
3754 | 3776 |
| |
|
0 commit comments
Comments
(0)