Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2f049633 authored by lpeter's avatar lpeter
Browse files

Add the protection to avoid data overflow in BinaryXmlSerializer.java

Add an integer overflow check in the writeShort in these two methods:
1.BinaryXmlSerializer#attributeBytesHex
2.BinaryXmlSerializer#attributeBytesBase64

Bug: 307288067
Test: atest BinaryXmlTest
Merged-In: I4e3f4881742f0e865eaefabb8ee134c67c6b53d9
Change-Id: I81f5ed43342d5b906f36f3733c2115232da90ac1
parent 9ebd148a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment