Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible buffer leak in ChipLinuxStorageIni::GetBinaryBlobValue (#…
…2856) It's possible for us to allocate encodedData but then never reach the Base64Decode call because of failing buffer length checks (e.g. if the encodedData buffer is more than 65KB). So we should make sure we free encodedData as long as it's not null.
- Loading branch information