Check that dest is valid for decompression (#3555)

* add check for valid dest buffer and fuzz on random dest ptr when malloc 0

* add uptrval to linux-kernel

* remove bin files

* get rid of uptrval

* restrict max pointer value check to platforms where sizeof(size_t) == sizeof(void*)
This commit is contained in:
daniellerozenblit
2023-03-31 23:00:55 -07:00
committed by GitHub
parent 7b828aaeb5
commit fcaf06ddb4
6 changed files with 32 additions and 3 deletions
-1
View File
@@ -24,7 +24,6 @@
#include <stdio.h>
#include <stdlib.h>
#include "fuzz_helpers.h"
/* Struct used for maintaining the state of the data */
typedef struct FUZZ_dataProducer_s FUZZ_dataProducer_t;