Tom Lane napsal(a):
Zdenek Kotala <[EMAIL PROTECTED]> writes:
I attach patch which adds boundaries check and memory overwriting
protection when compressed data are corrupted.
Good point. Is there plan to applied also on other branch?
I wasn't planning to back-patch it. Given the lack of fi
Zdenek Kotala <[EMAIL PROTECTED]> writes:
>>> I attach patch which adds boundaries check and memory overwriting
>>> protection when compressed data are corrupted.
> Good point. Is there plan to applied also on other branch?
I wasn't planning to back-patch it. Given the lack of field reports
of
Tom Lane napsal(a):
Zdenek Kotala <[EMAIL PROTECTED]> writes:
I attach patch which adds boundaries check and memory overwriting
protection when compressed data are corrupted.
Applied with revisions --- it appeared to me that it got the corner case
wrong where we find a tag just at the end of t
Zdenek Kotala <[EMAIL PROTECTED]> writes:
> I attach patch which adds boundaries check and memory overwriting
> protection when compressed data are corrupted.
Applied with revisions --- it appeared to me that it got the corner case
wrong where we find a tag just at the end of the input but there'
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.
---
Zd
I attach patch which adds boundaries check and memory overwriting
protection when compressed data are corrupted.
Current behavior let code overwrite a memory and after that check if
unpacked size is same as expected value. In this case elog execution
fails (at least on Solaris - malloc has c