[Python-apps-team] Bug#459203: startupmanger crashes if default entry to boot is bigger than total entries number in menu.lst

Andrea Colangelo warp10 at libero.it
Fri Jan 4 15:40:14 UTC 2008


Package: startupmanager
Version: 1.9.9-1
Severity: important
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu, ubuntu-patch, hardy, patch

If default entry to boot in menu.lst is bigger than the total number of 
entries, startupmanager crashes with "IndexError: list index out of range".

The attached patch fixes the problem exporting 0 as the default entry 
when menu.lst is broken.

Link to the bug report in Launchpad: 
https://bugs.edge.launchpad.net/ubuntu/+source/startupmanager/+bug/179555
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startupmanager.diff
Type: text/x-patch
Size: 492 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20080104/da19808a/attachment.bin 


More information about the Python-apps-team mailing list