Re[4]: [PATCH 1/1] net/bnxt: fix string bounds checks and format specifiers
Денис Люлин
lyulin.2003 at mail.ru
Wed Apr 22 17:36:41 CEST 2026
> The size of the string should not exceed 27 or 28 bytes less than RTE_MEMZONE_NAMESIZE.
Oh, I see. I was confused with the definition of
#define PCI_PRI_STR_SIZE sizeof("XXXXXXXX:XX:XX.X")
I thought that PCI addres length may be up to 16 characters + zero terminator, although it is a rare case, specific for some platforms.
If it is not the case (not applicable for this driver), then my patch is not needed.
Thank you for your replies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/stable/attachments/20260422/48b817b7/attachment.htm>
More information about the stable
mailing list