crash if --output specified after non-output option

Bug #1358132 reported by James Hunt on 2014-08-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
James Hunt

Bug Description

$ procenv --format=json --meta >/dev/null
$ procenv --meta --format=json >/dev/null
procenv: procenv.c:1051: dec_indent: Assertion `indent >= 0' failed.

It is documented that --output should be specified prior to a non-output option, so hopefully unlikely to be an issue in practise.

James Hunt (jamesodhunt) on 2014-08-18
Changed in procenv:
assignee: nobody → James Hunt (jamesodhunt)
status: New → In Progress
importance: Undecided → Low
James Hunt (jamesodhunt) on 2014-09-19
Changed in procenv:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers