The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software. print_uint() will silently promote its variable type to uint64_t, but there is nothing that ensures that the format string specifier passed along with it fits (and the function name suggest to pass "%u"). Fix this by changing print_uint() to use a native 'unsigned int' type, and introduce a separate print_u64() function for printing 64-bit values. All call sites that were actually printing 64-bit values using print_uint() are converted to use print_u64() instead. Since print_int() was already using native int types, just add a print_s64() to match, but don't convert any call sites. Fixes wonkyness in some stats from some qdiscs under tc Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> |
||
---|---|---|
.. | ||
001-config.patch | ||
002-json_print-fix-hidden-64-bit-type-promotion.patch | ||
004-darwin_fixes.patch | ||
007-no_arpd.patch | ||
008-no_netem.patch | ||
009-keep_libmnl_optional.patch | ||
100-allow_pfifo_fast.patch | ||
110-extra-ccopts.patch | ||
120-libnetlink-pic.patch | ||
300-ip_tiny.patch | ||
900-drop_FAILED_POLICY.patch | ||
950-add-cake-to-tc.patch |