diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2023-05-17 16:35:17 +0200 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2023-05-17 16:35:30 +0200 |
commit | 3c18d90f8907e53c3021fca13ad046133c480e4d (patch) | |
tree | 20fd76988ae4f52c1669321e4bb81b123314915f /src/backend/access/gist/gistproc.c | |
parent | d8c3106bb60e4f87be595f241e173ba3c2b7aa2c (diff) | |
download | postgresql-3c18d90f8907e53c3021fca13ad046133c480e4d.tar.gz |
Null-terminate the output buffer of LZ4Stream_gets
LZ4Stream_gets did not null-terminate its output buffer. The callers expected
the buffer to be null-terminated and passed it around to functions such as
sscanf with unintended consequences.
Author: Georgios Kokolatos <gkokolatos@pm.me>
Reported-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/94ae9bca-5ebb-1e68-bb7b-4f32e89fefbe@gmail.com
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions