patch-src_mp3-scanner_c 423 B

12345678910111213
  1. $OpenBSD: patch-src_mp3-scanner_c,v 1.1 2005/10/07 20:15:13 alek Exp $
  2. --- src/mp3-scanner.c.orig Sat Feb 5 22:22:47 2005
  3. +++ src/mp3-scanner.c Fri Oct 7 21:50:05 2005
  4. @@ -1748,7 +1748,7 @@ void make_composite_tags(MP3FILE *song)
  5. }
  6. }
  7. - sprintf(fdescr,"%s audio file",song->type);
  8. + snprintf(fdescr,sizeof(fdescr),"%s audio file",song->type);
  9. song->description = strdup(fdescr);
  10. if(song->url) {