~inkscape.dev/inkscape/osx-packaging-update

Viewing all changes in revision 13556.

  • Committer: bryce
  • Date: 2014-09-14 23:03:29 UTC
  • Revision ID: bryce@ubuntu.com-20140914230329-mvbb1ruaw9aso9zb
Always check result of sp_repr_read_mem for NULL

In cases where undefined or invalid XML is passed to sp_repr_read_mem(),
it will indicate failure by returning NULL.  All callers must check for
this and handle the error condition accordingly.

Fixes: lp: #1170248

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: