Re: [PATCH] Fix escaping of '<' in virBufferEscapeString

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Richard W.M. Jones" <rjones@xxxxxxxxxx> wrote:
> < is currently escaped as &ll;
>
> I'm guessing it should be &lt;
...
>          if (*cur == '<') {
>  	    *out++ = '&';
>  	    *out++ = 'l';
> -	    *out++ = 'l';
> +	    *out++ = 't';
>  	    *out++ = ';';
>  	} else if (*cur == '>') {
>  	    *out++ = '&';

Looks obviously right to me.  +1

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]