Github user dnwe commented on the pull request:

    https://github.com/apache/qpid-proton/pull/27#issuecomment-99380746
  
    @dcristoloveanu I'd be happy to merge these changes in for you as it is 
certainly better for the library not to segfault if a malloc fails.
    
    However, I do wonder if there are numerous places where these methods are 
currently called and expected to always be non-NULL. For example, `pn_buffer` 
allocations are used liberally and rarely checked for validity before being 
used, so unless I'm mistaken, it seems like we will just push the segfault up 
the call chain?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to