Fix UAF in X11CursorFactoryOzone.
Add a reference to the returned invisible cursor when we try to create a cursor from an invalid bitmap. X11CursorFactoryOzone is only used in the chromeos-on-linux development environment. I've double checked that this doesn't occur in CursorDataFactoryOzone and BitmapCursorFactoryOzone. Bug: 791243 Change-Id: Ia12edf1638a420b61eb7f72f3696dabf506a44e0 Reviewed-on: https://chromium-review.googlesource.com/809492 Commit-Queue: Elliot Glaysher <erg@chromium.org> Reviewed-by:kylechar <kylechar@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#522200}
Showing
Please register or sign in to comment