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 2020/04/19 02:46:31 UTC

[GitHub] [mynewt-nimble] h2zero opened a new pull request #802: ble_hs_misc_conn_chan_find_reqd() null pointer exception fix.

h2zero opened a new pull request #802: ble_hs_misc_conn_chan_find_reqd() null pointer exception fix.
URL: https://github.com/apache/mynewt-nimble/pull/802
 
 
   `ble_hs_misc_conn_chan_find_reqd()` did not return an error code if
   the connection and or the channel were not found, I.E in a disconnected state.
   When debug is not enabled and `ble_hs_misc_conn_chan_find_reqd()` is called and
   the device has disconnected from the peer various functions may attempt to access
   memory that is not valid causing an null pointer exception. This attempts to prevent that
   from occurring.

----------------------------------------------------------------
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

[GitHub] [mynewt-nimble] apache-mynewt-bot commented on issue #802: ble_hs_misc_conn_chan_find_reqd() null pointer exception fix.

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on issue #802: ble_hs_misc_conn_chan_find_reqd() null pointer exception fix.
URL: https://github.com/apache/mynewt-nimble/pull/802#issuecomment-616153486
 
 
   
   <!-- style-bot -->
   
   ## Style check summary
   
   #### No suggestions at this time!
   

----------------------------------------------------------------
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