crash if --output specified after non-output option

Bug #1358132 reported by James Hunt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
procenv
Fix Committed
Low
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)
Changed in procenv:
assignee: nobody → James Hunt (jamesodhunt)
status: New → In Progress
importance: Undecided → Low
James Hunt (jamesodhunt)
Changed in procenv:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.