pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jorge Solórzano <jorsol@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14584: Segmentation fault importing large XML file
Date: Wed, 08 Mar 2017 15:16:16 -0500
Message-ID: <13992.1489004176@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+cVU8M2FuK3XrHRSypW1y3gk+xgGjAgrT0k+sLVWsRJsW=3+A@mail.gmail.com>
References: <20170308190209.25050.13160@wrigleys.postgresql.org>
	<CAFj8pRA5s_PakuKExawAF724vVV3HJBTgqT7Z4yprij-34bm9w@mail.gmail.com>
	<CA+cVU8Nm7Of6UuZH79pogesrh0MVVM8G01FNejBiGKKBphb1oA@mail.gmail.com>
	<CAFj8pRDt-9TnisDrvaB2KRtyxEbC5-f_E_Co7Sq0yOwdNkbjVw@mail.gmail.com>
	<13153.1489002877@sss.pgh.pa.us>
	<CA+cVU8M2FuK3XrHRSypW1y3gk+xgGjAgrT0k+sLVWsRJsW=3+A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

=?UTF-8?Q?Jorge_Sol=C3=B3rzano?= <jorsol@gmail.com> writes:
> Let's assume that the bug is in libxml2, should postgres crash or should it
> have some kind of protection against it?

There's not much we can do when a library we depend on segfaults.  We have
no way to know what damage has been done, so letting the process crash is
pretty much the only safe option.

			regards, tom lane


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



view thread (7+ messages)

Message-ID: <13992.1489004176@sss.pgh.pa.us>
Permalink:  ../13992.1489004176@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13992.1489004176@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jorsol@gmail.com, pavel.stehule@gmail.com
  Subject: Re: BUG #14584: Segmentation fault importing large XML file
  In-Reply-To: <13992.1489004176@sss.pgh.pa.us>
  References: <20170308190209.25050.13160@wrigleys.postgresql.org> <CAFj8pRA5s_PakuKExawAF724vVV3HJBTgqT7Z4yprij-34bm9w@mail.gmail.com> <CA+cVU8Nm7Of6UuZH79pogesrh0MVVM8G01FNejBiGKKBphb1oA@mail.gmail.com> <CAFj8pRDt-9TnisDrvaB2KRtyxEbC5-f_E_Co7Sq0yOwdNkbjVw@mail.gmail.com> <13153.1489002877@sss.pgh.pa.us> <CA+cVU8M2FuK3XrHRSypW1y3gk+xgGjAgrT0k+sLVWsRJsW=3+A@mail.gmail.com> <13992.1489004176@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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