GNOME Bugzilla – Bug 777685
rsvg-convert: Fix error reporting when running from stdin
Last modified: 2017-12-13 18:26:01 UTC
Trivial patch attached.
Created attachment 344098 [details] [review] rsvg-convert: Fix error reporting when running from stdin When no input files are provided, args may be NULL, but n_args is set to 1 by the code handling stdin. This can result in a dereference of args[0] when it isn’t set. Avoid that by setting args to a dummy array of ['stdin']. Coverity ID: 1388557
Created attachment 344100 [details] [review] rsvg-convert: Fix error reporting when running from stdin When no input files are provided, args may be NULL, but n_args is set to 1 by the code handling stdin. This can result in a dereference of args[0] when it isn’t set. Avoid that by setting args to a dummy array of ['stdin']. Coverity ID: 1388557
Federico, ping?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/librsvg/issues/160.