Compare commits

..

1 Commits

Author SHA1 Message Date
Pin
3b8fd9c901 wip
Signed-off-by: Pin <wf6DJd8a3xSSCZbn@protonmail.com>
2021-10-11 23:04:14 -04:00
2 changed files with 7 additions and 3 deletions

View File

@@ -178,6 +178,7 @@ int main() {
if (fp == NULL) {
return EXIT_FAILURE;
}
unsigned char *file_data = file_to_char_array(fp, &i);
fclose(fp);

View File

@@ -1,5 +1,8 @@
#include <stdio.h>
// PNG File Struct
struct PNG
extern const long png_signature[8];
int check_header_length(unsigned char *addr, long offset);