Skip to content
Snippets Groups Projects
Select Git revision
  • 6a65341e14bc7745c52fe86fe53be08dbd682dd9
  • for-vairdraw default protected
  • multi-context-windows
3 results

x11_window.c

  • Camilla Löwy's avatar
    6a65341e
    X11: Fix multiple issues in XDND support · 6a65341e
    Camilla Löwy authored
    The code blindly expected UTF8_STRING for files.  It did not downgrade
    based on source protocol version.  It did not handle hostnames in
    text/uri-list data.  It did not specify the source time stamp when
    converting the selection.  It did not search the XdndTypeList when
    necessary.  It did not ignore sources that specified invalid versions.
    
    While better, this is still not fully conformant.  Hostnames are not
    validated and it does not guard against source crashes.
    
    Fixes #968.
    6a65341e
    History
    X11: Fix multiple issues in XDND support
    Camilla Löwy authored
    The code blindly expected UTF8_STRING for files.  It did not downgrade
    based on source protocol version.  It did not handle hostnames in
    text/uri-list data.  It did not specify the source time stamp when
    converting the selection.  It did not search the XdndTypeList when
    necessary.  It did not ignore sources that specified invalid versions.
    
    While better, this is still not fully conformant.  Hostnames are not
    validated and it does not guard against source crashes.
    
    Fixes #968.