https://bugs.linaro.org/show_bug.cgi?id=2224

--- Comment #6 from Maxim Uvarov <[email protected]> ---
this can not overflow because len is passed as function argument:

static inline unsigned pkt_mmap_v2_rx(pktio_entry_t *pktio_entry,
                                      pkt_sock_mmap_t *pkt_sock,
                                      odp_packet_t pkt_table[], unsigned len,
                                      unsigned char if_mac[])
{


        while (i < len) {
                   nb_rx++;
        }


}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to