Open
Description
Hi,
the following code is now in the latest commits mistakenly classified to contain an "out of bound pointer" error on line 12. This happens with following build of Symbiotic: https://copr.fedorainfracloud.org/coprs/acalabek/symbiotic/build/1129971/
Thanks!
#include <stdlib.h>
typedef void *TItem;
int main() {
TItem *list = malloc(sizeof(TItem));
*list = malloc(sizeof(TItem));
*((TItem *) *list) = NULL;
while (list) {
TItem *item = list;
list = (TItem *) *list;
free(item);
}
return 0;
}
EDIT: The link now points to a specific build and not to the general repository.