E.g. this produces a wrong memleak warning on str. { size_t len = strlen (*(char**)value); char *str = (char *)malloc (len+1); memcpy (str, *(char**)value, len+1); // we copy just the pointer, not the string memcpy (old, &str, sizeof (char*)); // size of ptr // cppcheck-suppress memleak }
E.g. this prodces a wrong memleak warning on str. { size_t len = strlen (*(char**)value); char *str = (char *)malloc (len+1); memcpy (str, *(char**)value, len+1); // we copy just the pointer, not the string memcpy (old, &str, sizeof (char*)); // size of ptr // cppcheck-suppress memleak }
SDCC.y: global function_name
add fast HW crc32, cleanup docs
fix and re-enable hashes, various fixes
I agree with the maintainer not to print it to stdout, but stderr
This was fixed upstream with bbf77c63c9e87b0675209fadf53a36528e38bb03
mged -Werror=maybe-uninitialized with gcc 10