jiridanek opened a new pull request #948:
URL: https://github.com/apache/qpid-dispatch/pull/948


   These are in response to fb-infer warnings of the following kind
   
   ```
   /qpid-dispatch/src/router_core/core_events.c:46: error: Null Dereference
     pointer `sub` last assigned on line 45 could be null and is dereferenced 
by call to `memset()` at line 46, column 5.
     44. {
     45.     qdrc_event_subscription_t *sub = NEW(qdrc_event_subscription_t);
     46.     ZERO(sub);
             ^
     47.
     48.     sub->context         = context;
   ```
   
   ```
   /qpid-dispatch/src/remote_sasl.c:72: error: Null Dereference
     pointer `buffer->start` last assigned on line 71 could be null and is 
dereferenced by call to `memset()` at line 72, column 5.
     70. {
     71.     buffer->start = malloc(buffer->capacity);
     72.     memset(buffer->start, 0, buffer->capacity);
             ^
     73. }
     74.
   ```


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to