Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1387932 Details for
Bug 1539844
apr: FTBFS in test suite with GCC 8 due to undefined behavior
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch used for fix
apr-rh1539844.patch (text/plain), 643 bytes, created by
Florian Weimer
on 2018-01-29 18:01:27 UTC
(
hide
)
Description:
Patch used for fix
Filename:
MIME Type:
Creator:
Florian Weimer
Created:
2018-01-29 18:01:27 UTC
Size:
643 bytes
patch
obsolete
>diff -ur apr-1.6.3.orig/test/teststr.c apr-1.6.3/test/teststr.c >--- apr-1.6.3.orig/test/teststr.c 2016-03-03 17:11:16.000000000 +0100 >+++ apr-1.6.3/test/teststr.c 2018-01-29 18:54:44.748931098 +0100 >@@ -307,10 +307,15 @@ > for (; off < 999999999; off += 999) { > apr_strfsize(off, buf); > } >- for (off = 1; off < LONG_MAX && off > 0; off *= 2) { >+ >+ off = 1; >+ while (1) { > apr_strfsize(off, buf); > apr_strfsize(off + 1, buf); > apr_strfsize(off - 1, buf); >+ if (off > LONG_MAX / 2) >+ break; >+ off *= 2; > } > > ABTS_ASSERT(tc, "strfsize overflowed", buf[5] == '$');
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 1539844
: 1387932