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

Commit 1ac7b5d0 authored by Shruti Bihani's avatar Shruti Bihani Committed by Automerger Merge Worker
Browse files

Fix Segv on unknown address error flagged by fuzzer test. am: d5c90581

parents 08e69fd6 d5c90581
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -26,6 +26,9 @@ namespace android {
class MtpDataPacket;

struct MtpPropertyValue {
    // pointer str initialized to NULL so that free operation
    // is not called for pre-assigned value
    MtpPropertyValue() : str (NULL) {}
    union {
        int8_t          i8;
        uint8_t         u8;