--iso with invalid pathname -> silently burns whatever iso it finds in ~/Downloads

Bug #708768 reported by James Ferguson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: usb-creator-gtk

Ubuntu 10.10
usb-creator-gtk 0.2.26

Use command line:

    usb-creator-gtk -i <invalid-pathname.iso>

And all appears well, but what actually occurs is it burns whatever iso it can find in ~/Downloads.

This has bitten me quite a bit in a couple of scenarios, including executing it in the wrong directory with a relative path for the iso.

Expected Beharior: non-readable --iso pathname should cause the program to exit

I think this is a serious problem.

I think the source of the issue is that Backend.add_image() silently returns if the pathname is not valid.

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.