[MacPorts] #51911: libepoxy: crash in gtk_init_check when calling epoxy_glx_version

MacPorts noreply at macports.org
Thu Jul 28 07:28:20 PDT 2016


#51911: libepoxy: crash in gtk_init_check when calling epoxy_glx_version
-----------------------+----------------------
  Reporter:  manus@…   |      Owner:  devans@…
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.4
Resolution:            |   Keywords:
      Port:  libepoxy  |
-----------------------+----------------------

Comment (by manus@…):

 Found the issue, in
 https://github.com/anholt/libepoxy/blob/master/src/dispatch_glx.c#L104
 the call to glXQueryExtensionsString returns NULL and not an empty string.

 The call in `epoxy_extension_in_string` does not check for that. So
 checking that the `extension_list` is null would simply fix the issue:

 https://github.com/anholt/libepoxy/blob/master/src/dispatch_common.c#L350

-- 
Ticket URL: <https://trac.macports.org/ticket/51911#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list