mirror of
https://github.com/postgres/postgres.git
synced 2026-03-22 18:33:19 -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
|
||
|---|---|---|
| .. | ||
| xml2.out | ||
| xml2_1.out | ||