https://bugs.linaro.org/show_bug.cgi?id=1055
--- Comment #2 from Mike Holmes <[email protected]> ---
odp_packet_io.c
>From coverity interface - did not realise that cut and paste would look as good
as this in bugzilla - might have to follow this format in future
242 if (init_socket(pktio_entry, dev, pool) == -1) {
243 unlock_entry_classifier(pktio_entry);
244 free_pktio_entry(id);
245 id = ODP_PKTIO_INVALID;
246 ODP_ERR("Unable to init any I/O type.\n");
247 } else {
CID 85426 (#1 of 1): Buffer not null terminated (BUFFER_SIZE_WARNING)
10. buffer_size_warning: Calling strncpy with a maximum size argument of 16
bytes on destination array pktio_entry->s.name of size 16 bytes might leave the
destination string unterminated.
248 strncpy(pktio_entry->s.name, dev, IFNAMSIZ);
249 unlock_entry_classifier(pktio_entry);
250 }
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp