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

Marc-André Lureau marcandre.lureau at gmail.com
Thu May 2 15:57:14 PDT 2013


Hi

On Tue, Apr 30, 2013 at 12:10 PM, Uri Lublin <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;
+}


-- 
Marc-André Lureau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130503/484f623c/attachment.html>


More information about the Spice-devel mailing list