You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/11/16 07:49:22 UTC

[GitHub] [mynewt-core] kasjer commented on a change in pull request #2095: sys/console: Fix NULL pointer dereference in log_find

kasjer commented on a change in pull request #2095: sys/console: Fix NULL pointer dereference in log_find
URL: https://github.com/apache/mynewt-core/pull/2095#discussion_r347081173
 
 

 ##########
 File path: sys/log/full/src/log.c
 ##########
 @@ -297,12 +297,11 @@ log_find(const char *name)
     struct log *log;
 
     log = NULL;
 
 Review comment:
   > This initialization can be removed if you are so inclined.
   I'm afraid not.
   Not that I'm not inclined, it would be wrong.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services