[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data
From: |
Srinivas Gollakota |
Subject: |
[lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data 'size' |
Date: |
Wed, 20 Jun 2007 14:04:26 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; YComp 5.0.0.0; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) |
URL:
<http://savannah.nongnu.org/bugs/?20223>
Summary: netconn_write() /tcp_enqueue() truncates data
'size'
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: gollakota
Submitted on: Wednesday 06/20/2007 at 10:04
Category: TCP
Severity: 3 - Normal
Item Group: Change Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
lwip_send() takes the 'size' parameter as 'int' where as
netconn_write(..,u16_t size,..) and
tcp_enqueue(..,u16_t len,..)
takes it as unsigned short or u16_t. This results in truncating the data
block size if the data size is greater than 2^16. (On a architecture where
short is 16 bit)
Is there any reason for keeping the 'size' as u16_t in the netconn and tcp
functions?
-Srinivas.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20223>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data 'size',
Srinivas Gollakota <=
- [lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data 'size', Simon Goldschmidt, 2007/06/20
- [lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data 'size', Frédéric Bernon, 2007/06/20
- [lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data 'size', Simon Goldschmidt, 2007/06/20
- [lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data 'size', Frédéric Bernon, 2007/06/20
- [lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data 'size', Srinivas Gollakota, 2007/06/20
- [lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data 'size', Simon Goldschmidt, 2007/06/21
- [lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data 'size', Simon Goldschmidt, 2007/06/21
- [lwip-devel] [bug #20223] netconn_write() /tcp_enqueue() truncates data 'size', Frédéric Bernon, 2007/06/21