Erik Faye-Lund 8a49fd3c05 player: fix potential buffer overflow
Previously, sync_track_path could either overflow it's 'temp'
buffer by one byte, or (even worse) end up not zero-terminating
it.

Correct the code by explicitly zero-terminating the result of
strncpy, and reducing the lenght-parameter to strncat.
2011-01-25 23:39:06 +01:00
..
2010-09-13 00:03:11 +02:00
2010-03-19 17:41:37 +01:00
2011-01-25 23:39:06 +01:00
2011-01-25 23:39:06 +01:00
2011-01-25 23:39:05 +01:00