Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 92102 Details for
Bug 140902
sys-apps/texinfo-4.8: avoid obvious out-of-bounds accesses.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
texinfo-4.8: avoid obvious out-of-bounds accesses.
html.c.diff (text/plain), 1.20 KB, created by
Alexey Dobriyan
on 2006-07-18 05:22:20 UTC
(
hide
)
Description:
texinfo-4.8: avoid obvious out-of-bounds accesses.
Filename:
MIME Type:
Creator:
Alexey Dobriyan
Created:
2006-07-18 05:22:20 UTC
Size:
1.20 KB
patch
obsolete
>=================================================================== >RCS file: /usr/OpenBSD/cvs/src/gnu/usr.bin/texinfo/makeinfo/html.c,v >retrieving revision 1.1.1.3 >retrieving revision 1.2 >diff -u -r1.1.1.3 -r1.2 >--- src/gnu/usr.bin/texinfo/makeinfo/html.c 2006/07/17 16:03:46 1.1.1.3 >+++ src/gnu/usr.bin/texinfo/makeinfo/html.c 2006/07/17 22:29:29 1.2 >@@ -1,5 +1,5 @@ > /* html.c -- html-related utilities. >- $Id: html.c,v 1.1.1.3 2006/07/17 16:03:46 espie Exp $ >+ $Id: html.c,v 1.2 2006/07/17 22:29:29 espie Exp $ > > Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software > Foundation, Inc. >@@ -445,7 +445,7 @@ > 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. */ >@@ -462,7 +462,7 @@ > } > > /* 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. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 140902
: 92102