The errors were like:
print-dccp.c:448:4: runtime error: unsigned integer overflow: 20 - 24
cannot be represented in type 'unsigned int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior print-dccp.c:448:4
fixed_hdrlen = dccp_basic_hdr_len(dh);
if (len < fixed_hdrlen) {
ND_PRINT("truncated-dccp - %u bytes missing!",
fixed_hdrlen = dccp_basic_hdr_len(dh);
if (len < fixed_hdrlen) {
ND_PRINT("truncated-dccp - %u bytes missing!",
return;
}
ND_TCHECK_LEN(dh, fixed_hdrlen);
return;
}
ND_TCHECK_LEN(dh, fixed_hdrlen);
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
return;
}
ND_TCHECK_SIZE(dhr);
return;
}
ND_TCHECK_SIZE(dhr);
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
return;
}
ND_TCHECK_SIZE(dhr);
return;
}
ND_TCHECK_SIZE(dhr);
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
return;
}
ND_TCHECK_SIZE(dhr);
return;
}
ND_TCHECK_SIZE(dhr);
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
if (len < fixed_hdrlen) {
ND_PRINT("truncated-%s - %u bytes missing!",
tok2str(dccp_pkt_type_str, "", dccph_type),
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));
return;
}
ND_PRINT("%s ", tok2str(dccp_pkt_type_str, "", dccph_type));