Thread (10 messages) 10 messages, 5 authors, 2021-06-18

Re: [dpdk-dev] [PATCH v2] pmdinfogen: allow padding after NUL terminator

From: Thomas Monjalon <hidden>
Date: 2021-06-18 14:39:28

27/05/2021 23:24, Dmitry Kozlyuk:
Size of string constant symbol may be larger than its length
measured up to NUL terminator. In this case pmdinfogen included padding
bytes after NUL terminator in generated source, yielding incorrect code.

Always trim string data to NUL terminator while reading ELF.
It was already done for COFF because there's no symbol size.

Bugzilla ID: 720
Fixes: f0f93a7adfee ("buildtools: use Python pmdinfogen")

Signed-off-by: Dmitry Kozlyuk <redacted>
Applied, thanks

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help