author | Max Kellermann <max@duempel.org> | |
Wed, 17 Sep 2008 23:05:16 +0000 (01:05 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 17 Sep 2008 23:05:16 +0000 (01:05 +0200) | ||
commit | 96683ca4d3611e7c25364a1dbf326435727757d2 | |
tree | ccffe99ad0ff5113ed19d93f8fb68dfe56d7df7e | tree | snapshot |
parent | bf8da42199fe351c844338ac6c09d715b25d34ed | commit | diff |
libmpdclient: smaller error buffer
512 characters should be well enough for error messages which are
actually being displayed somewhere. Use sizeof(errorStr) instead of
MPD_BUFFER_MAX_LENGTH everywhere. Do proper length checking when
copying the output buffer to errorStr.
512 characters should be well enough for error messages which are
actually being displayed somewhere. Use sizeof(errorStr) instead of
MPD_BUFFER_MAX_LENGTH everywhere. Do proper length checking when
copying the output buffer to errorStr.
src/libmpdclient.c | diff | blob | history | |
src/libmpdclient.h | diff | blob | history |