Commit a4b88fe5 authored by npzacs's avatar npzacs

Fix possible null pointer dereference

parent 0d8680f2
......@@ -444,6 +444,9 @@ int cache_get(const char *name, uint32_t *version, uint32_t *len, void *buf, siz
if (len) {
*len = 0;
if (!len) {
buf = NULL;
if (file) {
AACS_FILE_H *fp = file_open(file, "r");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment