From 000405693ead8ef950558b15de576e36e184b680 Mon Sep 17 00:00:00 2001 From: yzrh Date: Sun, 1 Jan 2023 21:26:44 +0000 Subject: Update CHANGE. Signed-off-by: yzrh --- src/pdf_parser.c | 2 -- src/version.h | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src') 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 + * Copyright (c) 2020-2023, yzrh * * SPDX-License-Identifier: Apache-2.0 */ #define VERSION "0" #define RELEASE "2" -#define PATCH "4" +#define PATCH "5" #define EXTRA "" -- cgit v1.2.3