--- cd-info.c 2007/12/30 15:09:00 1.150 +++ cd-info.c 2008/01/03 14:39:29 @@ -1,7 +1,7 @@ /* - $Id: cd-info.c,v 1.150 2007/12/30 15:09:00 rocky Exp $ + $Id: cd-info.c,v 1.151 2008/01/03 14:39:29 rocky Exp $ - Copyright (C) 2003, 2004, 2005, 2007 Rocky Bernstein + Copyright (C) 2003, 2004, 2005, 2007, 2008 Rocky Bernstein Copyright (C) 1996, 1997, 1998 Gerd Knorr and Heiko Eißfeldt @@ -539,7 +539,7 @@ iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode); char *psz_iso_name = p_statbuf->filename; char _fullname[4096] = { 0, }; - char *translated_name = (char *) alloca(strlen(psz_iso_name+1)); + char *translated_name = (char *) alloca(strlen(psz_iso_name)+1); if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) { iso9660_name_translate_ext(psz_iso_name, translated_name, --- iso-info.c 2007/12/30 15:09:00 1.36 +++ iso-info.c 2008/01/03 14:39:29 @@ -1,5 +1,5 @@ /* - $Id: iso-info.c,v 1.36 2007/12/30 15:09:00 rocky Exp $ + $Id: iso-info.c,v 1.37 2008/01/03 14:39:29 rocky Exp $ Copyright (C) 2004, 2005, 2006 Rocky Bernstein @@ -224,7 +224,7 @@ iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode); char *psz_iso_name = p_statbuf->filename; char _fullname[4096] = { 0, }; - char *translated_name = (char *) alloca(strlen(psz_iso_name+1)); + char *translated_name = (char *) alloca(strlen(psz_iso_name)+1); if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) { iso9660_name_translate_ext(psz_iso_name, translated_name,