RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1679097 - Syntax error in graphviz input file generates an empty image file with just a warning.
Summary: Syntax error in graphviz input file generates an empty image file with just a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: graphviz
Version: 7.7-Alt
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Ondrej Mejzlik
URL:
Whiteboard:
Depends On:
Blocks: 1780577
TreeView+ depends on / blocked
 
Reported: 2019-02-20 10:51 UTC by Teoman ONAY
Modified: 2023-12-15 16:21 UTC (History)
3 users (show)

Fixed In Version: graphviz-2.30.1-22.el7
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-29 19:33:34 UTC
Target Upstream Version:
Embargoed:
thozza: mirror+


Attachments (Terms of Use)
graphviz sample document (1.12 KB, text/vnd.graphviz)
2019-02-28 16:17 UTC, Teoman ONAY
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-53533 0 None None None 2023-02-12 17:28:04 UTC
Red Hat Product Errata RHBA-2020:3880 0 None None None 2020-09-29 19:33:39 UTC

Description Teoman ONAY 2019-02-20 10:51:22 UTC
Description of problem:
When graphviz input file contains a syntax error, a empty image file is generated with a warning and an exit code 0.

The customer would like us to backport the existing fix: 

https://github.com/ellson/MOTHBALLED-graphviz/commit/181433391b1ea19caf999f91b14a50f0499b831e


Version-Release number of selected component (if applicable):
graphviz-2.30.1-21

How reproducible:
NA

Steps to Reproduce:
1.
2.
3.

Actual results:
See description

Expected results:
When the source document contains a syntax error, the program should stop with an error and an exit code > 0.

Additional info:
Sample input file requested to the customer.

Comment 2 Teoman ONAY 2019-02-28 16:17:39 UTC
Created attachment 1539588 [details]
graphviz sample document

Comment 3 Jaroslav Škarvada 2019-04-25 13:41:53 UTC
The backport seems easy (one-liner) and safe.

Comment 15 errata-xmlrpc 2020-09-29 19:33:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (graphviz bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3880


Note You need to log in before you can comment on or make changes to this bug.