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

Commit 4f4be399 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: c4df8d89

parents 67309dd7 c4df8d89
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;