[Spice-devel] [win-vdagent PATCH] vdagent: protect against NULL entry in _displays

Uri Lublin uril at redhat.com
Mon May 6 09:09:31 PDT 2013


On 05/03/2013 01:57 AM, Marc-André Lureau wrote:
> Hi
>
> On Tue, Apr 30, 2013 at 12:10 PM, Uri Lublin <uril at redhat.com 
> <mailto:uril at redhat.com>> wrote:
>
>          if (display_count) {
>
>
> There is at least one more use you forgot, and that caused still a crash
>
>  if (min_x || min_y) {
>          for (iter = _displays.begin(); iter != _displays.end(); iter++) {
> +if (!*iter) {
> +   continue;
> +}
>

You are right, thanks.

I'll send a V2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130506/dd7c2fad/attachment.html>


More information about the Spice-devel mailing list