This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug string/19261] New: test-string.h questionable pointer arithmetic
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 18 Nov 2015 12:03:51 +0000
- Subject: [Bug string/19261] New: test-string.h questionable pointer arithmetic
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19261
Bug ID: 19261
Summary: test-string.h questionable pointer arithmetic
Product: glibc
Version: 2.23
Status: NEW
Severity: minor
Priority: P3
Component: string
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
Target Milestone: ---
Flags: security-
test-string.h contains this:
typedef struct
{
const char *name;
void (*fn) (void);
long test;
} impl_t;
extern impl_t __start_impls[], __stop_impls[];
â
for (impl = __start_impls; impl < __stop_impls; ++impl) \
I don't think C gives a well-defined result for that because __start_impls and
__stop_impls are separate objects.
--
You are receiving this mail because:
You are on the CC list for the bug.