Re: BUG #18274: Error 'invalid XML content'

Поиск
Список
Период
Сортировка
От Dmitry Koval
Тема Re: BUG #18274: Error 'invalid XML content'
Дата
Msg-id 99aae616-db97-4632-8934-4f39e7105631@postgrespro.ru
обсуждение исходный текст
Ответ на Re: BUG #18274: Error 'invalid XML content'  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: BUG #18274: Error 'invalid XML content'  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-bugs
> he security team has discussed 2197d06224a1 after a report from
> coverity regarding the effects that issues like [1] would create in
> the backend, and concluded that this patch should be reverted because
> this could cause the backend to waste plently of CPU and/or memory
> even if the application applied checks on the size of the data given
> in input, and libxml2 does not offer guarantees that input limits are
> respected under XML_PARSE_HUGE.

Thanks for info!

I agree that reverting a patch is a good idea if there are concerns 
about server resources (XML is used by few users and there are even 
fewer users who need to parse elements larger than 10Mb).
For such users it is better to create custom PostgreSQL build.

-- 
With best regards,
Dmitry Koval

Postgres Professional: http://postgrespro.com



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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #18311: python3-psycopg2 packaged for wrong python version
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: 回复: [External]Re: BUG #18308: SQL query information_schema metadata got error: server process was terminated by signal 11: Segment