diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-07-20 00:44:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-07-20 00:44:18 +0000 |
commit | 52f788da11e120442f4b99e41809ba1f09a7935c (patch) | |
tree | 9c86ca8e87573a202673353be705be36fa6940ee /sys-apps/texinfo/files | |
parent | ~amd64 bug #140061 (diff) | |
download | gentoo-2-52f788da11e120442f4b99e41809ba1f09a7935c.tar.gz gentoo-2-52f788da11e120442f4b99e41809ba1f09a7935c.tar.bz2 gentoo-2-52f788da11e120442f4b99e41809ba1f09a7935c.zip |
Grab fix from upstream cvs for out of bounds error #140902 by Alexey Dobriyan.
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'sys-apps/texinfo/files')
-rw-r--r-- | sys-apps/texinfo/files/digest-texinfo-4.8-r2 | 2 | ||||
-rw-r--r-- | sys-apps/texinfo/files/digest-texinfo-4.8-r3 | 2 | ||||
-rw-r--r-- | sys-apps/texinfo/files/digest-texinfo-4.8-r4 | 3 | ||||
-rw-r--r-- | sys-apps/texinfo/files/texinfo-4.8-bounds-check.patch | 32 |
4 files changed, 39 insertions, 0 deletions
diff --git a/sys-apps/texinfo/files/digest-texinfo-4.8-r2 b/sys-apps/texinfo/files/digest-texinfo-4.8-r2 index 89aa6b29dbe2..8bfc6f00eb18 100644 --- a/sys-apps/texinfo/files/digest-texinfo-4.8-r2 +++ b/sys-apps/texinfo/files/digest-texinfo-4.8-r2 @@ -1 +1,3 @@ MD5 6ba369bbfe4afaa56122e65b3ee3a68c texinfo-4.8.tar.bz2 1521822 +RMD160 5cb82cd240d1f22da813c7142df8828b4f6f1ea4 texinfo-4.8.tar.bz2 1521822 +SHA256 f6bb61fb9c1d6a65523c786a4a74ab61e455420469e09a86929f2d403d9a21bb texinfo-4.8.tar.bz2 1521822 diff --git a/sys-apps/texinfo/files/digest-texinfo-4.8-r3 b/sys-apps/texinfo/files/digest-texinfo-4.8-r3 index 89aa6b29dbe2..8bfc6f00eb18 100644 --- a/sys-apps/texinfo/files/digest-texinfo-4.8-r3 +++ b/sys-apps/texinfo/files/digest-texinfo-4.8-r3 @@ -1 +1,3 @@ MD5 6ba369bbfe4afaa56122e65b3ee3a68c texinfo-4.8.tar.bz2 1521822 +RMD160 5cb82cd240d1f22da813c7142df8828b4f6f1ea4 texinfo-4.8.tar.bz2 1521822 +SHA256 f6bb61fb9c1d6a65523c786a4a74ab61e455420469e09a86929f2d403d9a21bb texinfo-4.8.tar.bz2 1521822 diff --git a/sys-apps/texinfo/files/digest-texinfo-4.8-r4 b/sys-apps/texinfo/files/digest-texinfo-4.8-r4 new file mode 100644 index 000000000000..8bfc6f00eb18 --- /dev/null +++ b/sys-apps/texinfo/files/digest-texinfo-4.8-r4 @@ -0,0 +1,3 @@ +MD5 6ba369bbfe4afaa56122e65b3ee3a68c texinfo-4.8.tar.bz2 1521822 +RMD160 5cb82cd240d1f22da813c7142df8828b4f6f1ea4 texinfo-4.8.tar.bz2 1521822 +SHA256 f6bb61fb9c1d6a65523c786a4a74ab61e455420469e09a86929f2d403d9a21bb texinfo-4.8.tar.bz2 1521822 diff --git a/sys-apps/texinfo/files/texinfo-4.8-bounds-check.patch b/sys-apps/texinfo/files/texinfo-4.8-bounds-check.patch new file mode 100644 index 000000000000..48176af4f321 --- /dev/null +++ b/sys-apps/texinfo/files/texinfo-4.8-bounds-check.patch @@ -0,0 +1,32 @@ +http://bugs.gentoo.org/140902 + +revision 1.30 +date: 2005-04-05 17:04:16 -0400; author: karl; state: Exp; lines: +6 -4 +negative array indexing, grep -c for tests + +Index: makeinfo/html.c +=================================================================== +RCS file: /cvsroot/texinfo/texinfo/makeinfo/html.c,v +retrieving revision 1.29 +retrieving revision 1.30 +diff -u -p -r1.29 -r1.30 +--- makeinfo/html.c 12 Mar 2005 23:59:39 -0000 1.29 ++++ makeinfo/html.c 5 Apr 2005 21:04:16 -0000 1.30 +@@ -448,7 +450,7 @@ rollback_empty_tag (char *tag) + return 0; + + /* Find the end of the previous tag. */ +- while (output_paragraph[check_position-1] != '>' && check_position > 0) ++ while (check_position > 0 && output_paragraph[check_position-1] != '>') + check_position--; + + /* Save stuff between tag's end to output_paragraph's end. */ +@@ -465,7 +467,7 @@ rollback_empty_tag (char *tag) + } + + /* Find the start of the previous tag. */ +- while (output_paragraph[check_position-1] != '<' && check_position > 0) ++ while (check_position > 0 && output_paragraph[check_position-1] != '<') + check_position--; + + /* Check to see if this is the tag. */ |