* Fix a couple potential buffer overflows.

This commit is contained in:
Justin Maggard
2010-01-28 20:26:38 +00:00
parent 346ff6e293
commit c441187d2a
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ _make_composite_tags(struct song_metadata *psong)
{
int len;
len = 0;
len = 1;
if(!psong->contributor[ROLE_ARTIST] &&
(psong->contributor[ROLE_BAND] || psong->contributor[ROLE_CONDUCTOR]))