Branch: refs/heads/master Home: https://github.com/jpirko/libteam Commit: 2d19c6e08390497faf4dce52dc2788eccd9761e7 https://github.com/jpirko/libteam/commit/2d19c6e08390497faf4dce52dc2788eccd9... Author: Jiri Pirko jiri@resnulli.us Date: 2014-08-18 (Mon, 18 Aug 2014)
Changed paths: M teamd/teamd_link_watch.c M teamd/teamd_link_watch.h M teamd/teamd_lw_arp_ping.c M teamd/teamd_lw_nsna_ping.c
Log Message: ----------- teamd: fix incorrect usage of sizeof in __str_sockaddr
Sizeof will return the size of a pointer, which is not correct intended.
Introduced-by: 672ddfd506 ("teamd: move arp ping link watcher to a separate file") Signed-off-by: Jiri Pirko jiri@resnulli.us Acked-by: Flavio Leitner fbl@redhat.com
Commit: dafabe30a705ec3172648544dc0e863ba6a20adb https://github.com/jpirko/libteam/commit/dafabe30a705ec3172648544dc0e863ba6a... Author: Jiri Pirko jiri@resnulli.us Date: 2014-08-18 (Mon, 18 Aug 2014)
Changed paths: M include/private/misc.h
Log Message: ----------- fix strncmp len in ifname2ifindex
Calling strncpy with a maximum size argument of 16 bytes on destination array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the destination string unterminated.
Introduced-by: b9692cb90 ("teamd: generate team device names in case they are not specified") Signed-off-by: Jiri Pirko jiri@resnulli.us Acked-by: Flavio Leitner fbl@redhat.com
Commit: 50ab78baae0051dd3b0c3a34c7874c80441f0a4d https://github.com/jpirko/libteam/commit/50ab78baae0051dd3b0c3a34c7874c80441... Author: Jiri Pirko jiri@resnulli.us Date: 2014-08-18 (Mon, 18 Aug 2014)
Changed paths: M teamd/teamd_lw_tipc.c
Log Message: ----------- teamd: tipc: use TIPC_MAX_*_NAME for buffers and check len
You might overrun the 255 byte fixed-size string "tipc_ppriv->bearer" by copying "tipc_bearer" without checking the length.
Introduced-by: 847046a5c7 ("teamd: add TIPC link watcher") Signed-off-by: Jiri Pirko jiri@resnulli.us Acked-by: Flavio Leitner fbl@redhat.com
Compare: https://github.com/jpirko/libteam/compare/b883f38bcc0b...50ab78baae00
libteam@lists.fedorahosted.org