lwIP - A Lightweight TCP/IP stack - Bugs: bug #63929, ip6_frag.c: suspicious usage of...
You are not allowed to post comments on this tracker with your current authentication level.
bug #63929: ip6_frag.c: suspicious usage of 'sizeof(A*)'; pointer to aggregate
Submitter: | Jarno Malmari <jmalmari> | ||
Submitted: | Wed 15 Mar 2023 09:24:39 AM UTC | ||
Category: | IPv6 | Severity: | 3 - Normal |
Item Group: | Compiler Warning | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | Planned Release: | None |
lwIP version: | git head |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
clang-tidy found this potential issue. Can someone confirm if the sizeof argument is intentional? In the following snippet, I am talking about the last line with sizeof(iprh).
Should it be sizeof(*iprh) or some symbolic constant?
I'm using the latest master branch 3fe8d2fc43a9b69f7ed28c63d44a7744f9c0def9.