|
Bugzilla – Full Text Bug Listing |
| Summary: | eb-4.2-36: array subscript is above array bounds | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | David Binderman <dcb314> |
| Component: | Other | Assignee: | Mike Fabian <mfabian> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | bugzilla-242268.patch | ||
*** This bug has been marked as a duplicate of bug 240922 *** Created attachment 117647 [details] bugzilla-242268.patch ------------------------------------------------------------------- Tue Feb 06 15:50:24 CET 2007 - mfabian@suse.de - bugzilla #242268: array subscript is above array bounds. ------------------------------------------------------------------- Tue Feb 06 12:33:57 CET 2007 - mfabian@suse.de - update to 4.3. • fix a problem with shared directories with EPWING dictionaries • fix the problem that ‘ebunzip --test’ did overwrite the main dictionary file. • fix the problem that ebappendix created an appendix in electronic book form even when reading a catalogs.app file. • make colour illustrations with reference links work. • API Additions: new functions: eb_have_image_menu(), eb_image_menu(). new text hooks: EB_HOOK_BEGIN_IMAGE_PAGE, EB_HOOK_END_IMAGE_PAGE, EB_HOOK_BEGIN_CLICKABLE_AREA, EB_HOOK_END_CLICKABLE_AREA ------------------------------------------------------------------- reported upstream. |
I just tried to compile package eb-4.2-36 with the GNU C compiler version 4.3 snapshot 20070202. The compiler said multiplex.c:836: warning: array subscript is above array bounds The source code is *(entry->book_name + EBNET_MAX_BOOK_NAME_LENGTH + 1) = '\0'; but char book_name[EBNET_MAX_BOOK_NAME_LENGTH + 1]; Suggest code rework.