diff options
author | Max Kellermann <max@duempel.org> | 2008-09-18 01:05:14 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-18 01:05:14 +0200 |
commit | bf8da42199fe351c844338ac6c09d715b25d34ed (patch) | |
tree | 3d2b8ebab852207fdc6a44ec52cf22579a403b89 /configure.ac | |
parent | 7fff0ce33c1ebf8806827b6c5fb7dfb978ff5cc3 (diff) | |
download | mpd-bf8da42199fe351c844338ac6c09d715b25d34ed.tar.gz mpd-bf8da42199fe351c844338ac6c09d715b25d34ed.tar.xz mpd-bf8da42199fe351c844338ac6c09d715b25d34ed.zip |
libmpdclient: use memmove() instead of strcpy() for moving the buffer
In general, don't treat the input buffer as a null-terminated string:
don't append '\0', don't use strchr() and strtok(). To delete
consumed portions of the buffer, strcpy() is bad anyway, because it
does not allow overlapping buffers.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions