Re: [BUGS] BUG #14584: Segmentation fault importing large XML file

Поиск
Список
Период
Сортировка
От Jorge Solórzano
Тема Re: [BUGS] BUG #14584: Segmentation fault importing large XML file
Дата
Msg-id CA+cVU8M2FuK3XrHRSypW1y3gk+xgGjAgrT0k+sLVWsRJsW=3+A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14584: Segmentation fault importing large XML file  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [BUGS] BUG #14584: Segmentation fault importing large XML file
Список pgsql-bugs
Let's assume that the bug is in libxml2, should postgres crash or should it have some kind of protection against it?

Yeah.  The segfault is inside xmlParserPrintFileContext(), so really there
is at least one libxml2 bug here and possibly two.  Maybe it should have
been able to cope with such large input, or maybe not, but for sure its
printing functions should have been able to cope with the state at the
time the error was reported.

I don't think there's much we can do about it; you need to report this
to the libxml2 folk.

                        regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14584: Segmentation fault importing large XML file
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14584: Segmentation fault importing large XML file