[Debburn-devel] [PATCH 1/1] Fix genisoimage -root option inserts unwanted directory into ISO directory structure

Steve McIntyre steve at einval.com
Tue Aug 11 13:29:37 UTC 2009


On Tue, Aug 11, 2009 at 02:58:15PM +0200, Nikola Pajkovsky wrote:
> bug: https://bugzilla.redhat.com/show_bug.cgi?id=508449
>
> --- cdrkit-1.1.9/genisoimage/genisoimage.c    2009-08-11  
> 13:45:42.491887853 +0200
> +++ cdrkit-1.1.9-master/genisoimage/genisoimage.c    2009-08-11  
> 14:54:06.355889864 +0200
> @@ -3117,8 +3117,10 @@ if (check_session == 0)
>              if (reloc_root != NULL) {
>                  strcpy(graft_point, reloc_root);
>                  len = strlen(graft_point);
> -                if (graft_point[len] != '/')
> +                if (graft_point[len] != '/'){
>                      graft_point[len++] = '/';
> +                    graft_point[len++] = '\0';
> +                }
>              } else {
>                  len = 0;
>              }

Committed after discussion on irc and a quick fix.

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
Into the distance, a ribbon of black
Stretched to the point of no turning back




More information about the Debburn-devel mailing list