Aldo segfaults when no filename is given for the 3. Read from file option

Bug #915683 reported by John Plaxco
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aldo (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Steps to reproduce:

1. Start aldo from the terminal
2. Choose option 3
3. Press enter without providing a filename

Expected result:

A warning message saying that no filename was provided. Return to the main menu.

Actual result:

Segmentation fault, program crashes.

Additional information:

Same behavior when a file that doesn't exist is entered. Apparently the filename isn't being checked before being passed to the underlying library.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: aldo 0.7.6-1build1
ProcVersionSignature: Ubuntu 2.6.38-13.53-generic 2.6.38.8
Uname: Linux 2.6.38-13-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Jan 12 18:03:37 2012
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: aldo
UpgradeStatus: Upgraded to natty on 2011-10-21 (83 days ago)

Revision history for this message
John Plaxco (c-launchpad-ignisobscurae-com) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "A patch that gracefully handles the no-filename-provided bug. Does not address filenames that don't exist." of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
FanJun Kong - ( BH1SCW ) (fjkong) wrote :

this is fixed in new version 0.7.7
close it

Changed in aldo (Ubuntu):
status: New → Fix Committed
Revision history for this message
Greg Beam (ki7mt) wrote :

Just a quick update:

* 0.7.7 is on Savanna: http://savannah.nongnu.org/download/aldo/aldo-0.7.7.tar.bz2
* 0.7.7-1 is also in Jessie, Stretch and Sid
* 0.7.7-1 is now in Ubuntu Vivid

We should be able to close this on the next turn in September.

Aron Xu (happyaron)
Changed in aldo (Ubuntu):
status: Fix Committed → Fix Released
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.