[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-commits] [SCM] UNNAMED PROJECT branch, master, updated. d91b1c5d5b
From: |
Dirk Ziegelmeier |
Subject: |
[lwip-commits] [SCM] UNNAMED PROJECT branch, master, updated. d91b1c5d5bdc10e1e930a7488ff579b0d5add9ec |
Date: |
Fri, 22 Jan 2016 06:57:59 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via d91b1c5d5bdc10e1e930a7488ff579b0d5add9ec (commit)
via 74fdc099323854bccdb990bada0fb65fc0f13020 (commit)
via 35914d73a5d6aa762854af13d79c11513005b618 (commit)
via cc695f36701ba301a7b60e6aec3d7ad1a94f7991 (commit)
via cb763db7c41783c5a40c308115ac713a523bbe06 (commit)
via f84dfe84339874c7e14caaa4a3f4f4a5efdc675c (commit)
via 79b6eb4bfd6509d36387ea7114824bbc27281ef1 (commit)
via 11fee2e7a91ce028dc2965504ca84c5d3416d35b (commit)
from 602a7bd5da770e29ce78097e19dc6d9e593c3d45 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d91b1c5d5bdc10e1e930a7488ff579b0d5add9ec
Author: Stephan Linz <address@hidden>
Date: Thu Jan 21 17:57:04 2016 +0100
unixsim: add support for SLIP interface
Add a SLIP interface configuration, for test purposes use a PTY.
Signed-off-by: Stephan Linz <address@hidden>
commit 74fdc099323854bccdb990bada0fb65fc0f13020
Author: Stephan Linz <address@hidden>
Date: Thu Jan 21 17:50:19 2016 +0100
sio: add support for SLIP test interface
A SLIP interface should connected to a real serial line. For test
purposes it becomes important to use a PTY that will attached to
a SLIP interface on host side.
The SIO driver has been extendet to a device number (devnum=4) that
will spawn 'slattach' with the proper options similar to pppd.
Signed-off-by: Stephan Linz <address@hidden>
commit 35914d73a5d6aa762854af13d79c11513005b618
Author: Stephan Linz <address@hidden>
Date: Thu Jan 21 16:39:15 2016 +0100
sio: enable IPv6 support in spawned pppd
Enable the IPv6CP and IPv6 protocols.
Signed-off-by: Stephan Linz <address@hidden>
commit cc695f36701ba301a7b60e6aec3d7ad1a94f7991
Author: Stephan Linz <address@hidden>
Date: Thu Jan 21 16:17:59 2016 +0100
sio: refactoring debug messages
All debug messages should:
- be enabled by SIO_DEBUG
- be showing the related file descriptor (when possible)
Specific debug messages for spawned pppd should be showing the
corresponding PTY slave device.
Signed-off-by: Stephan Linz <address@hidden>
commit cb763db7c41783c5a40c308115ac713a523bbe06
Author: Stephan Linz <address@hidden>
Date: Thu Jan 21 14:20:42 2016 +0100
sio: avoid implicit type cast in sio_read/sio_write
On POSIX systems the result of read() and write() can be
negative to mark an error. The current implementation of
sio_read() and sio_write() will have an implicit type
cast from signed integer to unsigned integer.
Every time, when a error has happened, the upper layer sees
a much too large number of received or sendet bytes. That
leads to a potential buffer overrun or misinterpretation of
what has happened.
Signed-off-by: Stephan Linz <address@hidden>
commit f84dfe84339874c7e14caaa4a3f4f4a5efdc675c
Author: Stephan Linz <address@hidden>
Date: Thu Jan 21 14:59:17 2016 +0100
unixsim: use status callback at all interfaces
Use netif_status_callback() on all interfaces and in any
case if IP configuration (static and dynamic, ex. DHCP).
Signed-off-by: Stephan Linz <address@hidden>
commit 79b6eb4bfd6509d36387ea7114824bbc27281ef1
Author: Stephan Linz <address@hidden>
Date: Thu Jan 21 14:24:56 2016 +0100
unixsim: fix day of the month calculation
From manpage of localtime_r:
tm_mday: The day of the month, in the range 1 to 31.
Signed-off-by: Stephan Linz <address@hidden>
commit 11fee2e7a91ce028dc2965504ca84c5d3416d35b
Author: Stephan Linz <address@hidden>
Date: Thu Jan 21 14:07:13 2016 +0100
udpecho: fix potential buffer/stack overrun error
The UDP echo application holds an receive buffer of 4096 byte.
To protect against buffer overrun, netbuf_copy() must not copy
more than this value from pbuf.
Signed-off-by: Stephan Linz <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
apps/udpecho/udpecho.c | 2 +-
ports/unix/netif/sio.c | 129 +++++++++++++++++++++++++++---------
ports/unix/proj/unixsim/lwipopts.h | 10 +++
ports/unix/proj/unixsim/simhost.c | 69 ++++++++++++++-----
4 files changed, 161 insertions(+), 49 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-commits] [SCM] UNNAMED PROJECT branch, master, updated. d91b1c5d5bdc10e1e930a7488ff579b0d5add9ec,
Dirk Ziegelmeier <=