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 --- CHANGE.md | 7 +++++++ src/pdf_parser.c | 2 -- src/version.h | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGE.md b/CHANGE.md index 7a384ea..a2bfe9f 100644 --- a/CHANGE.md +++ b/CHANGE.md @@ -3,6 +3,13 @@ * Support HN text overlay. +0.2.5 (2023-01-XX) +================== + +* Improve PDF parser. +* Handle duplicated object in CAJ. +* Fix JBIG decoder. + 0.2.4 (2022-12-31) ================== 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