forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8e29567
committed
Defend against null error message reported by libxml2.
While this isn't really supposed to happen, it can occur in OOMsituations and perhaps others. Instead of crashing, substitute"(no message provided)".I didn't worry about localizing this text, since we aren'tlocalizing anything else here; besides, if we're on the edge ofOOM, it's unlikely gettext() would work.Report and fix by Sergio Conde Gómez in bug #15624.Discussion:https://postgr.es/m/15624-4dea54091a2864e6@postgresql.org1 parent8cf3fad commit8e29567
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1696 | 1696 |
| |
1697 | 1697 |
| |
1698 | 1698 |
| |
1699 |
| - | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
1700 | 1703 |
| |
1701 | 1704 |
| |
1702 | 1705 |
| |
|
0 commit comments
Comments
(0)