• Peter Wu's avatar
    broadway: fix use-after-free on read errors · fffbe61c
    Peter Wu authored
    Call chain:
     - input_data_cb
       - broadway_server_read_all_input_nonblocking (input)
         - broadway_input_free (input)
           (now input is invalid)
         attempt to use input->active -> use-after-free
    
    Make broadway_server_read_all_input_nonblocking return a boolean, TRUE
    if the input was valid, FALSE otherwise. This allows input_data_cb to
    detect whether the input was gone or not.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741685
    fffbe61c
Name
Last commit
Last update
..
Makefile.am Loading commit data...
TODO.broadway Loading commit data...
broadway-buffer.c Loading commit data...
broadway-buffer.h Loading commit data...
broadway-output.c Loading commit data...
broadway-output.h Loading commit data...
broadway-protocol.h Loading commit data...
broadway-server.c Loading commit data...
broadway-server.h Loading commit data...
broadway.js Loading commit data...
broadwayd.c Loading commit data...
client.html Loading commit data...
gdkbroadway-server.c Loading commit data...
gdkbroadway-server.h Loading commit data...
gdkbroadway.h Loading commit data...
gdkbroadwaycursor.h Loading commit data...
gdkbroadwaydisplay.h Loading commit data...
gdkbroadwaydisplaymanager.h Loading commit data...
gdkbroadwayvisual.h Loading commit data...
gdkbroadwaywindow.h Loading commit data...
gdkcursor-broadway.c Loading commit data...
gdkdevice-broadway.c Loading commit data...
gdkdevice-broadway.h Loading commit data...
gdkdevicemanager-broadway.c Loading commit data...
gdkdevicemanager-broadway.h Loading commit data...
gdkdisplay-broadway.c Loading commit data...
gdkdisplay-broadway.h Loading commit data...
gdkdnd-broadway.c Loading commit data...
gdkeventsource.c Loading commit data...
gdkeventsource.h Loading commit data...
gdkglobals-broadway.c Loading commit data...
gdkkeys-broadway.c Loading commit data...
gdkprivate-broadway.h Loading commit data...
gdkproperty-broadway.c Loading commit data...
gdkscreen-broadway.c Loading commit data...
gdkscreen-broadway.h Loading commit data...
gdkselection-broadway.c Loading commit data...
gdktestutils-broadway.c Loading commit data...
gdkvisual-broadway.c Loading commit data...
gdkwindow-broadway.c Loading commit data...
gdkwindow-broadway.h Loading commit data...
rawinflate.min.js Loading commit data...
toarray.pl Loading commit data...