commit | e61e18f0d5d7bb20eb081d0159b184a89f64eba9 | [log] [tgz] |
---|---|---|
author | Brett Nash <nash@nash.space> | Thu Feb 10 11:02:22 2022 -0800 |
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | Fri Feb 11 19:21:32 2022 +0100 |
tree | af20122280605a23527a54087fe1b1b93b67c6ff | |
parent | 2d133fbda01ce463b561a3de7a0a3ebf11391668 [diff] |
slirp: Don't duplicate packet in tcp_reass When debug is enabled, we duplicate the packet in tcp_reass, but ti is still pointing to the old buffer, resulting in a use after free. This makes valgrind debugging a little trickier, but makes it crash a lot less. Signed-off-by: Brett Nash <nash@fb.com>
libslirp is a user-mode networking library used by virtual machines, containers or various tools.
A C compiler, meson and glib2 development libraries.
(see also .gitlab-ci.yml DEPS variable for the list of dependencies on Fedora)
You may build and install the shared library with meson:
meson build ninja -C build install
And configure QEMU with --enable-slirp=system to link against it.
(QEMU may build with the submodule static library using --enable-slirp=git)
Unfortunately, there are no automated tests available.
You may run QEMU -net user
linked with your development version.
Feel free to open issues on the project issues page.
You may clone the gitlab project and create a merge request.
Contributing with gitlab allows gitlab workflow, tracking issues, running CI etc.
Alternatively, you may send patches to slirp@lists.freedesktop.org mailing list.
We intend to use libtool's versioning for the shared libraries and use SemVer for project versions.
For the versions available, see the tags on this repository.
See the COPYRIGHT file for details.