<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - eglGetDisplay() is broken for Wayland"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103757#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - eglGetDisplay() is broken for Wayland"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103757">bug 103757</a>
              from <span class="vcard"><a class="email" href="mailto:daniel@fooishbar.org" title="Daniel Stone <daniel@fooishbar.org>"> <span class="fn">Daniel Stone</span></a>
</span></b>
        <pre>(In reply to Michael Olbrich from <a href="show_bug.cgi?id=103757#c6">comment #6</a>)
<span class="quote">> (In reply to Daniel Stone from <a href="show_bug.cgi?id=103757#c2">comment #2</a>)

> > Michael, I'll attach a compiled but untested patch; can you please let me
> > know if it helps?

> Looks good. It does the right thing for wayland and drm at least.
> is _eglPointerIsDereferencable() sufficient to ensure that the whole string
> is accessible?</span >

Good point - I guess it'd have to be if
(_eglPointerIsDereferencable(child_pointer) &&
_eglPointerIsDereferencable(((char *) child_pointer) + strlen("wl_display") +
1) && strcmp(interface->name, "wl_display") == 0) ... ugh. Does that work for
you?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>