buglwIP - A Lightweight TCP/IP stack - Bugs: bug #38526, Coverity: Recursive Header...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #38526: Coverity: Recursive Header Inclusion: lwip/src/include/lwip/ip.h

Submitted by:  Grant Erickson <marathon96>
Submitted on:  Fri 15 Mar 2013 07:19:06 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Compiler WarningStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Wed 24 Apr 2013 07:59:31 PM UTC, comment #1:

Fixed by changing ip6.h to not include ip.h and including ip.h in the C files where needed.

Thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Fri 15 Mar 2013 07:19:06 PM UTC, original submission:

lwip/src/include/lwip/ip.h:43: Recursion in included headers (PW.INCLUDE_RECURSION)
#include file "lwip/src/include/ipv6/lwip/ip6.h" includes itself: ip6.h -> ip.h -> ip6.h (other events go to each file)
During compilation of file 'lwip/src/core/ipv6/ethip6.c'

Grant Erickson <marathon96>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by marathon96 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 24 Apr 2013 07:59:31 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1