]> git.eshelyaron.com Git - emacs.git/commit
Add two missing NULL checks of malloc'd values on Android
authorPo Lu <luangruo@yahoo.com>
Sat, 15 Feb 2025 08:58:18 +0000 (16:58 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sat, 15 Feb 2025 19:31:53 +0000 (20:31 +0100)
commit08e4a0d887ddcdc9d6416b015ceb6316fe0912e9
treeb9d989770abf9f8471933bf40968ff76a25d9cda
parentfa6e66932e88ffdffcffadc61129efc6169455a2
Add two missing NULL checks of malloc'd values on Android

* src/android.c (sendDndUri, sendDndText): Verify that allocated
string memory is non-nil before writing to it.

(cherry picked from commit 58e4bfe3408f5f4562bf02ac200b680329f487c2)
src/android.c