You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/05/07 17:13:55 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on a diff in pull request #6171: syslog: Fixed a potential buffer overflow issue

pkarashchenko commented on code in PR #6171:
URL: https://github.com/apache/incubator-nuttx/pull/6171#discussion_r867374192


##########
include/nuttx/nuttx.h:
##########
@@ -48,4 +48,20 @@
 #define container_of(ptr, type, member) \
   ((type *)((uintptr_t)(ptr) - offsetof(type, member)))
 
+/* Name: is_config_set
+ *
+ * Description:
+ *   Evaluate a kconfig-provided boolen type configuration setting
+ *   at compile time
+ *
+ * Arguments:
+ *   config - The configuration setting name.
+ */
+
+#define is_config_set(config) _is_config_set(config)

Review Comment:
   Let me think a little a bit about it as well



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org