|
From: | Christoffer Lind |
Subject: | [lwip-devel] [patch #9857] sys_arch_mbox_tryfetch return value not validated correctly |
Date: | Wed, 2 Oct 2019 02:57:31 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36 |
URL: <https://savannah.nongnu.org/patch/?9857> Summary: sys_arch_mbox_tryfetch return value not validated correctly Project: lwIP - A Lightweight TCP/IP stack Submitted by: clind Submitted on: Wed 02 Oct 2019 06:57:29 AM UTC Category: TCP Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: sys_arch_mbox_tryfetch() shall return SYS_MBOX_EMPTY or 0 according to the documentation. Wherever the function is used the return value is incorrectly compared to SYS_ARCH_TIMEOUT. For now SYS_MBOX_EMPTY is defined to SYS_ARCH_TIMEOUT so this is not an issue as long as SYS_MBOX_EMPTY isn't re-defined. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 02 Oct 2019 06:57:29 AM UTC Name: 0001-sys_arch_mbox_tryfetch-not-validated-correctly.patch Size: 2KiB By: clind <http://savannah.nongnu.org/patch/download.php?file_id=47608> _______________________________________________________ Reply to this item at: <https://savannah.nongnu.org/patch/?9857> _______________________________________________ Message sent via Savannah https://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |