Skip to content

Handle negative snprintf return values properly

Daniel Gröber netfilter-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 2 repliesIn review
  2. v18 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Handle negative snprintf return values properlyinclude/internal/internal.h src/conntrack/api.c src/conntrack/snprintf.c +1 more+11 -32 replies
2/9Fix nfexp_snprintf return value docssrc/expect/api.c+3 -20 replies
3/9Replace strncpy with snprintf to improve null byte handlingsrc/conntrack/copy.c src/conntrack/parse_mnl.c src/conntrack/setter.c +2 more+15 -180 replies
4/9Fix incorrect snprintf size calculationsrc/conntrack/snprintf_default.c+1 -10 replies
5/9Add ARRAY_SIZE() macroinclude/internal/internal.h+2 -00 replies
6/9Fix buffer overflow on invalid icmp type in setterssrc/conntrack/grp_setter.c src/conntrack/setter.c+12 -70 replies
7/9Move icmp request>reply type mapping to common fileinclude/internal/internal.h include/internal/proto.h src/conntrack/Makefile.am +3 more+62 -650 replies
8/9Fix buffer overflow in protocol related snprintf functionssrc/conntrack/snprintf_default.c src/conntrack/snprintf_xml.c+24 -100 replies
9/9Fix buffer overflows in __snprintf_protoinfo* like in *2str fnssrc/conntrack/snprintf_default.c+39 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread