[riot-notifications] [RIOT-OS/RIOT] nrf802154: Validate frame length before dst filter (#11191)

Koen Zandberg notifications at github.com
Fri Apr 5 11:51:21 CEST 2019

bergzand commented on this pull request.

> @@ -131,6 +131,26 @@ static void _enable_tx(void)
+ * @brief basic ieee802.15.4 data frame validation
+ */
+static bool _data_frame_filter(void)
+    size_t psdu_len = rxbuf[0];

> does this rly need an own variable?

No. I've made it a separate variable to improve readability. The compiler is smart enough to not let it impact the code size.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190405/ab32cb33/attachment.html>

More information about the notifications mailing list