aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pdf_parser.c2
-rw-r--r--src/version.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/pdf_parser.c b/src/pdf_parser.c
index d0affb6..bb45e63 100644
--- a/src/pdf_parser.c
+++ b/src/pdf_parser.c
@@ -146,8 +146,6 @@ pdf_load(pdf_object_t **pdf, FILE **fp, int size_buf)
if (buf == NULL)
return 1;
- memset(buf, 0, ptr->size);
-
fseek(*fp, ptr->address - 15, SEEK_SET);
fread(str, 8, 1, *fp);
diff --git a/src/version.h b/src/version.h
index 53be5ba..46eeb34 100644
--- a/src/version.h
+++ b/src/version.h
@@ -1,10 +1,10 @@
/*
- * Copyright (c) 2020-2022, yzrh <yzrh@noema.org>
+ * Copyright (c) 2020-2023, yzrh <yzrh@noema.org>
*
* SPDX-License-Identifier: Apache-2.0
*/
#define VERSION "0"
#define RELEASE "2"
-#define PATCH "4"
+#define PATCH "5"
#define EXTRA ""