c
if (frag->data_len > SIZE_MAX - len) {
    // Handle error: integer overflow
    return NULL;
}
len += frag->data_len;
