|
From: | Matthias Hofmann |
Subject: | [lwip-devel] [bug #54062] Inconsequent null pointer checks |
Date: | Thu, 7 Jun 2018 01:29:52 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #5, bug #54062 (project lwip): I'm working on a patch according to your advice. When it is done we can close the bug and additional rework can be provided as patches. When adding the check code I stumbled over different return codes for NULL checks. For example netconn_getaddr use ERR_ARG, but in the UDP code ERR_VAL is used. Is there any difference between both return codes and when to use them? I tend to use ERR_ARG for null checks. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?54062> _______________________________________________ Message sent via Savannah https://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |