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

Commit a27ba918 authored by Ayushi Khopkar's avatar Ayushi Khopkar
Browse files

Updated fuzzer in order to avoid any invalid free of mOutputBuffer

Test: ./mpeg4_dec_fuzzer
Test: ./h263_dec_fuzzer
Bug: 200755338

Change-Id: Ie99a6b4574373071050343503a65a1a9dd33ce18
parent 2b1669ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ class Codec {

 private:
  tagvideoDecControls *mDecHandle = nullptr;
  uint8_t *mOutputBuffer[kNumOutputBuffers];
  uint8_t *mOutputBuffer[kNumOutputBuffers] = {};
  bool mInitialized = false;
  bool mFramesConfigured = false;
#ifdef MPEG4