mirror of
https://github.com/postgres/postgres.git
synced 2026-03-25 03:45:15 -04:00
The logic of xslt_process() has never considered the fact that
xsltSaveResultToString() would return NULL for an empty string (the
upstream code has always done so, with a string length of 0). This
would cause memcpy() to be called with a NULL pointer, something
forbidden by POSIX.
Like
|
||
|---|---|---|
| .. | ||
| expected | ||
| sql | ||
| .gitignore | ||
| Makefile | ||
| meson.build | ||
| xml2--1.0--1.1.sql | ||
| xml2--1.1--1.2.sql | ||
| xml2--1.1.sql | ||
| xml2.control | ||
| xpath.c | ||
| xslt_proc.c | ||