nuttx-apps/netutils/netlib
zhanghongyu cfb64cffb1 netlib_getarptab: fix codechecker high level issue
197:  paysize = RTA_PAYLOAD(&resp->attr);
198:  if (paysize > maxsize)
199:    {
200:      paysize = maxsize;
201:    }
202:
203:  memcpy(arptab, resp->data, paysize);

Memory copy function accesses out-of-bound array element

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-10-21 16:31:13 +08:00
..
Kconfig netutils/netlib/netlib_parseurl.c: Add a more flexible version of netlib_parsehttpurl. This one can parse any URL, and is extensible so future improvements keep the same API. 2019-04-26 13:08:38 -06:00
Make.defs Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),) 2022-10-16 14:59:08 +02:00
Makefile ifconfig support set IPv6 DNS server 2022-08-04 19:47:15 +08:00
netlib_autoconfig.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_delarp.c Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL] 2021-12-20 16:04:29 -03:00
netlib_eaddrconv.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_ethaddrconv.c apps: fix miscellaneous typos 2021-08-26 11:39:28 -07:00
netlib_getarp.c Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL] 2021-12-20 16:04:29 -03:00
netlib_getarptab.c netlib_getarptab: fix codechecker high level issue 2022-10-21 16:31:13 +08:00
netlib_getdevs.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00
netlib_getdripv4addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_getessid.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_getifstatus.c Fix the coding style issue 2022-10-06 12:20:32 +02:00
netlib_getipv4addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_getipv4netmask.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_getipv6addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_getmacaddr.c Fix the coding style issue 2022-10-06 12:20:32 +02:00
netlib_getnbtab.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_getnodeaddr.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00
netlib_getpanid.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00
netlib_getproperties.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00
netlib_getroute.c netutils: update licenses to Apache 2021-06-11 05:05:27 -05:00
netlib_ipmsfilter.c Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL] 2021-12-20 16:04:29 -03:00
netlib_ipv4adaptor.c Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL] 2021-12-20 16:04:29 -03:00
netlib_ipv4addrconv.c netutils: fix relative path CI error 2021-06-16 09:03:06 -05:00
netlib_ipv4route.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_ipv4router.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_ipv6adaptor.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00
netlib_ipv6netmask2prefix.c Typo fixes. 2022-01-06 10:30:41 +08:00
netlib_ipv6route.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_ipv6router.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_listenon.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_nodeaddrconv.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_parsehttpurl.c Fixed compiler warnings. 2022-08-23 01:39:59 +08:00
netlib_parseurl.c netlib_parseurl: Make the buffer size assumption explicit 2022-06-07 15:09:11 +03:00
netlib_prefix2ipv6netmask.c netutils: update licenses to Apache 2021-06-11 05:05:27 -05:00
netlib_saddrconv.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_server.c examples: author: Gregory Nutt: update licenses to Apache 2021-06-15 05:16:58 -05:00
netlib_setarp.c Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL] 2021-12-20 16:04:29 -03:00
netlib_setdripv4addr.c fix use of addroute/delroute 2022-08-27 23:50:46 +08:00
netlib_setdripv6addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_seteaddr.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00
netlib_setessid.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setifstatus.c Fix the coding style issue 2022-10-06 12:20:32 +02:00
netlib_setipv4addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setipv4dnsaddr.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_setipv4netmask.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setipv6addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setipv6dnsaddr.c ifconfig support set IPv6 DNS server 2022-08-04 19:47:15 +08:00
netlib_setipv6netmask.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setmacaddr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setnodeaddr.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00