[ClusterFuzz] crash in replaceSelectionCommand
ReplaceSelectionCommand crashes if InsertHTML content have trailing non visible content. This happens as the nextAncesstorSibling comes as null This CL does the safety check to prevent the crash observed in this scenario. Bug: 781282 Change-Id: Ibb886956dafcdfaadac4dd2ee6b6c1ef70ad8340 Reviewed-on: https://chromium-review.googlesource.com/768550 Commit-Queue: Tanvir Rizvi <tanvir.rizvi@samsung.com> Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#517437}
Showing
Please register or sign in to comment