commit | f29748c767fb254b1f11ca0de9154572c5ea528a | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@chromium.org> | Thu Feb 07 22:02:04 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 07 22:02:04 2019 |
tree | 97477ece3f163d75ad304512dedf7522b795ef80 | |
parent | f05a9056616a163f5c6f42507f6736e7aab2de1d [diff] |
Fix data_offer_accept with null mimetype. Passing NULL for mime-type here is valid and indicates that the drop destination does not support dropping at the current location. We were creating a std::string from a nullptr when calling DataOffer::Accept() and that called strlen on nullptr. BUG=b:120240161 TEST=exo_unittests Change-Id: I00cfe116f01383cc94f3f93f4b8ca4af7587db2e Reviewed-on: https://chromium-review.googlesource.com/c/1436469 Commit-Queue: Kristian H. Kristensen <hoegsberg@chromium.org> Reviewed-by: Daniele Castagna <dcastagna@chromium.org> Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org> Cr-Commit-Position: refs/heads/master@{#630062}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .