When using rioutil (cvs) with my new Rio/S50 I was getting segfaults when trying to upload MP3's (it crashed before the uploading stage). This fixes the issue and uploading works fine now :) --- rioutil/librioutil/id3.c 2003-12-05 01:36:54.000000000 +0000 +++ rioutil-dsd/librioutil/id3.c 2004-01-09 16:46:09.000000000 +0000 @@ -223,6 +223,7 @@ if (length > 128) lseek (fd, length - 128, SEEK_CUR); + tag_temp = malloc(length); for ( j = 0 ; *tag_temp == '\0' && j < length ; j++, tag_temp++); switch (field) {