On 2010-04-17 13:16, Magnus Holmgren wrote:
* Looks like "buf" (in draw_playlist_viewer_list) can overflow. Consider what happens if "buf_used" goes larger than "sizeof(buf)"... Suggestion: use strlcat instead. Protects against overflow and simplifies the code. Don't know if that's what causing the problems though.
Sorry, missed the buf_used check in the "while" statement, and the "continue" statement... So it seems overflow safe. strlcat would still be simpler though. :)
-- Magnus
