summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-11-22 23:41:55 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-11-22 23:41:55 +0900
commitc9d4876047a753ba4c8310507136e9220c799a1c (patch)
tree628f6b836835893be545dcbc262ed15cda03ff68 /app-text/chasen/files
parentapp-text/chasen: update to EAPI 8 (diff)
downloadgentoo-c9d4876047a753ba4c8310507136e9220c799a1c.tar.gz
gentoo-c9d4876047a753ba4c8310507136e9220c799a1c.tar.bz2
gentoo-c9d4876047a753ba4c8310507136e9220c799a1c.zip
app-text/chasen: update to version 2.4.5
This is the same as the version 2.4.4 with the fix for CVE-2011-4000. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-text/chasen/files')
-rw-r--r--app-text/chasen/files/chasen-2.4.4-cve-2011-4000.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/app-text/chasen/files/chasen-2.4.4-cve-2011-4000.patch b/app-text/chasen/files/chasen-2.4.4-cve-2011-4000.patch
deleted file mode 100644
index 61480622e40a..000000000000
--- a/app-text/chasen/files/chasen-2.4.4-cve-2011-4000.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git a/lib/chalib.c b/lib/chalib.c
-index 5d79e13..cddf51b 100644
---- a/lib/chalib.c
-+++ b/lib/chalib.c
-@@ -306,9 +306,14 @@ chasen_sparse_main(char *input, FILE *output)
- */
- while (*input) {
- int c = 0, len, cursor;
-- if ((crlf = strpbrk(input, "\r\n")) == NULL)
-+ if ((crlf = strpbrk(input, "\r\n")) == NULL) {
- len = strlen(input);
-- else {
-+ if (len >= CHA_INPUT_SIZE) {
-+ len = CHA_INPUT_SIZE - 1;
-+ crlf = input + CHA_INPUT_SIZE - 2;
-+ c = 0;
-+ }
-+ } else {
- len = crlf - input;
- c = *crlf;
- *crlf = '\0';