pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix some possible low-memory failures in regexp compilation.
7+ messages / 1 participants
[nested] [flat]

* pgsql: Fix some possible low-memory failures in regexp compilation.
@ 2015-08-12 04:49 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2015-08-12 04:49 UTC (permalink / raw)
  To: pgsql-committers

Fix some possible low-memory failures in regexp compilation.

newnfa() failed to set the regex error state when malloc() fails.
Several places in regcomp.c failed to check for an error after calling
subre().  Each of these mistakes could lead to null-pointer-dereference
crashes in memory-starved backends.

Report and patch by Andreas Seltenreich.  Back-patch to all branches.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8a0258c31808c514755e3bba03cb052084c4887c

Modified Files
--------------
src/backend/regex/regc_nfa.c |    3 +++
src/backend/regex/regcomp.c  |    3 +++
2 files changed, 6 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Fix some possible low-memory failures in regexp compilation.
@ 2015-08-12 04:49 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2015-08-12 04:49 UTC (permalink / raw)
  To: pgsql-committers

Fix some possible low-memory failures in regexp compilation.

newnfa() failed to set the regex error state when malloc() fails.
Several places in regcomp.c failed to check for an error after calling
subre().  Each of these mistakes could lead to null-pointer-dereference
crashes in memory-starved backends.

Report and patch by Andreas Seltenreich.  Back-patch to all branches.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c5bfcc18a09b3f56ae0fd434ff6c72bd185949c1

Modified Files
--------------
src/backend/regex/regc_nfa.c |    3 +++
src/backend/regex/regcomp.c  |    3 +++
2 files changed, 6 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Fix some possible low-memory failures in regexp compilation.
@ 2015-08-12 04:49 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2015-08-12 04:49 UTC (permalink / raw)
  To: pgsql-committers

Fix some possible low-memory failures in regexp compilation.

newnfa() failed to set the regex error state when malloc() fails.
Several places in regcomp.c failed to check for an error after calling
subre().  Each of these mistakes could lead to null-pointer-dereference
crashes in memory-starved backends.

Report and patch by Andreas Seltenreich.  Back-patch to all branches.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a35a527f2d6b28f78e9eab42801ec0170ffcb898

Modified Files
--------------
src/backend/regex/regc_nfa.c |    3 +++
src/backend/regex/regcomp.c  |    3 +++
2 files changed, 6 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Fix some possible low-memory failures in regexp compilation.
@ 2015-08-12 04:49 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2015-08-12 04:49 UTC (permalink / raw)
  To: pgsql-committers

Fix some possible low-memory failures in regexp compilation.

newnfa() failed to set the regex error state when malloc() fails.
Several places in regcomp.c failed to check for an error after calling
subre().  Each of these mistakes could lead to null-pointer-dereference
crashes in memory-starved backends.

Report and patch by Andreas Seltenreich.  Back-patch to all branches.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a54875602a057f8ee0cf5e880bfe2056b5dd11f0

Modified Files
--------------
src/backend/regex/regc_nfa.c |    3 +++
src/backend/regex/regcomp.c  |    3 +++
2 files changed, 6 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Fix some possible low-memory failures in regexp compilation.
@ 2015-08-12 04:49 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2015-08-12 04:49 UTC (permalink / raw)
  To: pgsql-committers

Fix some possible low-memory failures in regexp compilation.

newnfa() failed to set the regex error state when malloc() fails.
Several places in regcomp.c failed to check for an error after calling
subre().  Each of these mistakes could lead to null-pointer-dereference
crashes in memory-starved backends.

Report and patch by Andreas Seltenreich.  Back-patch to all branches.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/234205a2e34464a9aabc9ab5e65692652f8fc910

Modified Files
--------------
src/backend/regex/regc_nfa.c |    3 +++
src/backend/regex/regcomp.c  |    3 +++
2 files changed, 6 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Fix some possible low-memory failures in regexp compilation.
@ 2015-08-12 04:49 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2015-08-12 04:49 UTC (permalink / raw)
  To: pgsql-committers

Fix some possible low-memory failures in regexp compilation.

newnfa() failed to set the regex error state when malloc() fails.
Several places in regcomp.c failed to check for an error after calling
subre().  Each of these mistakes could lead to null-pointer-dereference
crashes in memory-starved backends.

Report and patch by Andreas Seltenreich.  Back-patch to all branches.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7a801ba8ce7befc2309ece2ca918eb688c67fda9

Modified Files
--------------
src/backend/regex/regc_nfa.c |    3 +++
src/backend/regex/regcomp.c  |    3 +++
2 files changed, 6 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Fix some possible low-memory failures in regexp compilation.
@ 2015-08-12 04:49 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2015-08-12 04:49 UTC (permalink / raw)
  To: pgsql-committers

Fix some possible low-memory failures in regexp compilation.

newnfa() failed to set the regex error state when malloc() fails.
Several places in regcomp.c failed to check for an error after calling
subre().  Each of these mistakes could lead to null-pointer-dereference
crashes in memory-starved backends.

Report and patch by Andreas Seltenreich.  Back-patch to all branches.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7e23b63bd8e0776f90c915d72fced4215eefadb0

Modified Files
--------------
src/backend/regex/regc_nfa.c |    3 +++
src/backend/regex/regcomp.c  |    3 +++
2 files changed, 6 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2015-08-12 04:49 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-08-12 04:49 pgsql: Fix some possible low-memory failures in regexp compilation. Tom Lane <tgl@sss.pgh.pa.us>
2015-08-12 04:49 pgsql: Fix some possible low-memory failures in regexp compilation. Tom Lane <tgl@sss.pgh.pa.us>
2015-08-12 04:49 pgsql: Fix some possible low-memory failures in regexp compilation. Tom Lane <tgl@sss.pgh.pa.us>
2015-08-12 04:49 pgsql: Fix some possible low-memory failures in regexp compilation. Tom Lane <tgl@sss.pgh.pa.us>
2015-08-12 04:49 pgsql: Fix some possible low-memory failures in regexp compilation. Tom Lane <tgl@sss.pgh.pa.us>
2015-08-12 04:49 pgsql: Fix some possible low-memory failures in regexp compilation. Tom Lane <tgl@sss.pgh.pa.us>
2015-08-12 04:49 pgsql: Fix some possible low-memory failures in regexp compilation. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox