On Fri, Aug 23, 2013 at 10:25 PM, Marc-André Lureau <marcandre.lureau@xxxxxxxxx> wrote: > else if (str[len] == 0) > + len -= 1; > + I added len > 0 condition here. -- Marc-André Lureau _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel