|
2015-08-17
| ||
| 18:26 | • Closed ticket [818a1a51e4]: Missing error checks/reports in regexp compilation</... artifact: a2afdd65c7 user: dkf | |
| 18:23 | [818a1a51e4] Apply fixes from Andreas Seltenreich (reported to us by Tom Lane) for handling low memo... check-in: ad6840ded7 user: dkf tags: trunk | |
| 18:22 | [818a1a51e4] Apply fixes from Andreas Seltenreich (reported to us by Tom Lane) for handling low memo... check-in: c5a6ed1cd5 user: dkf tags: core-8-5-branch | |
| 18:10 | • Ticket [818a1a51e4] Missing error checks/reports in regexp compilation statu... artifact: 5a5057e350 user: dkf | |
| 18:06 | • Ticket [818a1a51e4]: 4 changes artifact: 7e282fe49a user: dkf | |
|
2015-08-12
| ||
| 05:03 | • New ticket [818a1a51e4]. artifact: 41915b21e9 user: tgl | |
Missing error checks/reports in regexp compilation
Closed / Accepted818a1a51e43c125b06d92db6dd3505255044cb36Created 11 years agoUpdated 11 years ago
Descriptionplain2015-08-12 05:03:35
You guys probably should absorb the fixes we (Postgres) made to Spencer's regexp library here: http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=8a0258c31808c514755e3bba03cb052084c4887c These oversights reportedly have been seen to cause null-pointer-dereference crashes under low-memory testing. I haven't personally duplicated a crash, but it sure looks broken to me.
Referenced by2
ad6840ded7[818a1a51e4] Apply fixes from Andreas Seltenreich (reported to us by Tom Lane) for handling low memory situations. Should not be reachable in Tcl due to ckalloc() panic policy. check-in2015-08-17 18:23:20c5a6ed1cd5[818a1a51e4] Apply fixes from Andreas Seltenreich (reported to us by Tom Lane) for handling low memory situations. Should not be reachable in Tcl due to ckalloc() panic policy. check-in2015-08-17 18:22:18
dkf Ticket [818a1a51e4]: 4 changes
[History diff]2015-08-17 18:06:49
dkfhtml2015-08-17 18:10:18
It's less serious for us, as we usually use a malloc() replacement that does an abort() when we run out of memory. But that doesn't mean we shouldn't take those fixes.
dkfhtml2015-08-17 18:26:29
Thanks to both you and Andreas Seltenreich. The patch is now applied to the 8.5 and 8.6 branches (modulo some minor syntactic changes because our version of the RE code follows Tcl code formatting rules).
Log in (anonymous is fine) to add a comment.