Package: liblwip0
Version: 2.1.2-5.1
Severity: important

Dear Maintainer,

Creating TCP server with existing value in library crashed by bad memory using.
Valgrind found the problem in low_level_input function, which uses pbuf_alloc,
that allocate too less memory. This "original" value will work.



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-3-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), 
LANGUAGE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages liblwip0 depends on:
ii  libc6  2.29-3

liblwip0 recommends no packages.

liblwip0 suggests no packages.

-- no debconf information
--- lwip-2.1.2.orig/port/include/lwipopts.h
+++ lwip-2.1.2/port/include/lwipopts.h
@@ -69,7 +69,7 @@
 #define LWIP_IPV6_NUM_ADDRESSES       6
 
 /* TCP tuning */
-#define TCP_MSS         1460
+#define TCP_MSS         536
 #define TCP_WND         0xFFFF
 #define LWIP_WND_SCALE  1
 #define TCP_RCV_SCALE   0x1

Reply via email to