Max Kellermann 73b5d0a9b9 system/Error: truncate the snprintf() return value
snprintf() does not return the (truncated) length actually written,
but the length that would be needed if the buffer were large enough.
This API usage mistake in FormatLastError() can lead to overflow of
the stack buffer, crashing the process (Windows only).

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1676
2022-11-28 09:42:37 +01:00
..
2021-01-01 19:54:28 +01:00
2021-10-13 12:07:05 +02:00
2018-11-19 16:33:49 +01:00
2020-05-05 14:27:03 +02:00
2020-03-16 00:08:21 -07:00
2021-01-01 19:54:28 +01:00
2020-03-12 15:25:38 -07:00