Skip to content
Permalink
Browse files

Fix a NPE when update message status

a NPE excetion could result in DoS attack(CVE-2015-3839)
Signed-off-by: seven_shen <lingtongshen@gmail.com>

Change-Id: I04bddb50f23c6cb5253143f32f52fd1d30dd9655
  • Loading branch information...
huntcve authored and andi34 committed Aug 5, 2015
1 parent c1e0826 commit ea70340adb7d0b029d68637688c595c50e8ed5c1
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/com/android/mms/transaction/MessageStatusService.java
@@ -97,6 +97,8 @@ private SmsMessage updateMessageStatus(Context context, Uri messageUri, byte[] p
} else {
error("Can't find message for status update: " + messageUri);
}
} catch(NullPointerException e){
return null;
} finally {
cursor.close();
}

0 comments on commit ea70340

Please sign in to comment.
You can’t perform that action at this time.