lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t)


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t)
Date: Mon, 08 Feb 2010 06:41:24 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2) Gecko/20100115 Firefox/3.6

Follow-up Comment #37, bug #27352 (project lwip):

> BTW, ip_addr_set should be use only for safe copy, the latest 
> modifications use it everywhere, even if we don't have to check 
> the pointer.

I might have to check that again, but I think the only places where I used
that unchecked is the SNMP code. And there, the problem lies in the poorly
written code: it relies on void-pointers being aligned because the are
allocated using mem(p)_malloc. That assumption has been in there before my
changes and I didn't want to change the whole code right now.

If there are other places where it is used unchecked, please tell me.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?27352>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]