Fix buffer overflow with some id3 genres
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 6 Sep 2011 04:33:47 +0000 (00:33 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Tue, 25 Mar 2014 03:27:04 +0000 (23:27 -0400)
commitd4f2587e7505a09659f2e6c12961d38ef1d842b0
tree39b5821b791a822399bfa2800b4c1910bb4c549d
parent63864f4acd6611243afc461e6dcc3829feef98f6
Fix buffer overflow with some id3 genres

A crash occurs (buffer overflow) with some id3 genre, for instance: "Chanson"
or "BritPop". The problem was due to the usage of sprintf function (instead of
snprintf) and an error of buffer size for this id3 field.

Origin: Frédéric Fauberteau ( triaxx ) - 2010-04-24 08:45:26 UTC
        http://sourceforge.net/tracker/?func=detail&aid=2991696&group_id=3714&atid=303714
src/id3.c