3 ms·
bound checking would act okay I guess. You usually alloc such a struct this way : t_packet *packet = malloc(sizeof(*packet) + payload_size);
by malka 10y ago
bound checking would act okay I guess. You usually alloc such a struct this way :
t_packet *packet = malloc(sizeof(*packet) + payload_size);