Commit 4efb424
sockets.c: Use size_t for iovec length
This change updates the lwip socket read/write ops to use unsigned
size_t for the length of the passed-in iovec.
The internal lwip read/write functions still use int, and simply package
it into struct msghdr, which is size_t once again.
If overflow is a concern we should fix it with a build patch.
Signed-off-by: Andrei Tatar <[email protected]>
Reviewed-by: Sergiu Moga <[email protected]>
Approved-by: Razvan Deaconescu <[email protected]>
GitHub-Closes: #611 parent 70a2721 commit 4efb424
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
| 346 | + | |
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
| 363 | + | |
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| |||
0 commit comments