lwIP - A Lightweight TCP/IP stack - Patches: patch #6414, Avoid compiler errors/warnings...
You are not allowed to post comments on this tracker with your current authentication level.
patch #6414: Avoid compiler errors/warnings with mem_size_t if MEM_LIBC_MALLOC
Submitter: | Jonathan Larmour <jifl> | ||
Submitted: | Fri 08 Feb 2008 08:26:01 PM UTC | ||
Category: | None | Priority: | 3 - Low |
Status: | Done | Privacy: | Public |
Assigned to: | jifl | Open/Closed: | Closed |
Planned Release: | 1.3.0 |
Tue 04 Mar 2008 04:41:05 PM UTC, comment #3: |
Jonathan Larmour <jifl> |
Tue 04 Mar 2008 04:33:18 PM UTC, comment #2: I have checked it in. I can't find the comment on lwip-devel about mem_malloc again, so let me know if there's anything in the area that wants doing or point me at it.
|
Jonathan Larmour <jifl> |
Tue 04 Mar 2008 01:32:20 PM UTC, comment #1: Yes please Jifl, can you check this in prior to the final 1.3.0 release?
|
Kieran Mansley <kieranm> |
Fri 08 Feb 2008 08:26:01 PM UTC, original submission:
As per the discussion "Possible mistake in mem.h" here: http://lists.gnu.org/archive/html/lwip-devel/2008-01/threads.html
|
Jonathan Larmour <jifl> |
Depends on the following items: None found
Items that depend on this one: None found
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.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2008-03-04 | jifl | Status | Need Info | Done | |
Open/Closed | Open | Closed | |||
2008-03-04 | kieranm | Planned Release | None | 1.3.0 | |
2008-02-08 | jifl | Attached File | - | Added mem.size_t.patch, #14999 | |
Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-02a9.
Corresponding source code
And 5 minutes later I found the mail.
pbuf.c, line 210:
p = (struct pbuf*) mem_malloc(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF + offset) + LWIP_MEM_ALIGN_SIZE(length));
ppp.c, line 401:
outpacket_buf[i] = (u_char *) mem_malloc(PPP_MRU+PPP_HDRLEN);
httpd.c, line 215 (httpserver_raw example)
hs = (struct http_state *) mem_malloc(sizeof(struct http_state));
Committed.