mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
As reported by Bill Parker, PL/Tcl did not validate some malloc() calls against NULL return. Fix by using palloc() in a new long-lived memory context instead. This allows us to simplify error handling too, by simply deleting the memory context instead of doing retail frees. There's still a lot that could be done to improve PL/Tcl's memory handling ... This is pretty ancient, so backpatch all the way back. Author: Michael Paquier and Álvaro Herrera Discussion: https://www.postgresql.org/message-id/CAFrbyQwyLDYXfBOhPfoBGqnvuZO_Y90YgqFM11T2jvnxjLFmqw@mail.gmail.com |
||
|---|---|---|
| .. | ||
| expected | ||
| modules | ||
| po | ||
| sql | ||
| .gitignore | ||
| Makefile | ||
| nls.mk | ||
| pltcl--1.0.sql | ||
| pltcl--unpackaged--1.0.sql | ||
| pltcl.c | ||
| pltcl.control | ||
| pltclu--1.0.sql | ||
| pltclu--unpackaged--1.0.sql | ||
| pltclu.control | ||