stats module malloc
struct stat_data *data = malloc(sizeof(*data));
This malloc
call would appear to be incorrect. The argument to sizeof
should be stat_data
unless I have missed something.
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
struct stat_data *data = malloc(sizeof(*data));
This malloc
call would appear to be incorrect. The argument to sizeof
should be stat_data
unless I have missed something.