Skip to content
Snippets Groups Projects

Dropped to allocate memory for comments when there are none.

Merged Petter Reinholdtsen requested to merge zero-comments into master
1 unresolved thread

This avoid calling malloc(0) expecting a non-NULL pointer returned, and make the code in oc_comment_unpack() not depend on non POSIX specified behaviour.

Thanks to Eric Lasota for noticing.

Fixes #2304 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading