Currently, the code copies one extra character than requested and does not terminate the string.
Signed-off-by: David Kahurani <k.kahurani(a)gmail.com>
--
v6: xmllite/writer: Null terminate duplicated strings.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1024
Currently, the code copies one extra character than requested and does not terminate the string.
Signed-off-by: David Kahurani <k.kahurani(a)gmail.com>
--
v5: xmllite/writer: Null terminate duplicated strings
https://gitlab.winehq.org/wine/wine/-/merge_requests/1024
The fd gets overwritten, therefore we need to close it before doing so.
Signed-off-by: Fabian Maurer <dark.shadow4(a)web.de>
---
Supersedes patch 233975
--
v2: ntdll: Prevent double free (Coverity)
https://gitlab.winehq.org/wine/wine/-/merge_requests/74