Correct code that created the error message in valgrind:
#include
#include
#include
#define DIM 32
int main(void)
{
char *p = NULL;
p = malloc(DIM);
if(p == NULL)
{
printf("Allocation error.\n");
exit(1);
}
strcpy(p, "This is a test.");
for(int x = 0 ; x <
LAST_UPDATED: Obtained from git: releases/gcc-10.2.0 revision
ee5c3db6c5b2c3332912fb4c9cfa2864569ebd9a
=== acats tests ===
=== acats Summary ===
# of expected passes2320
# of unexpected failures0
Native configuration is s390x-ibm-linux-gnu
LAST_UPDATED: Obtained from git: releases/gcc-10.2.0 revision
ee5c3db6c5b2c3332912fb4c9cfa2864569ebd9a
=== acats tests ===
=== acats Summary ===
# of expected passes2320
# of unexpected failures0
Native configuration is i686-pc-linux-gnu
Package: gcc-9
Version: 9.3.0-15
Severity: important
X-Debbugs-Cc: r...@scotsgeek.com
Dear Maintainer,
Source:
#include
#include
#define DIM 32
char p[DIM] = "NULL";
int main(void)
{
strcpy(p, "This is a test.");
for(int x = 0 ; x < DIM; ++x)
{
printf("%02x ", p[x]);
}
Processing commands for cont...@bugs.debian.org:
> tags 966066 + sid
Bug #966066 [src:opentyrian] opentyrian: FTBFS with GCC 10: multiple definition
of ... due to -fno-common
Added tag(s) sid.
> tags 957553 + experimental
Bug #957553 [src:mmh] mmh: ftbfs with GCC-10
Ignoring request to alter tags
5 matches
Mail list logo