super crashes on check superfile

Bug #1986669 reported by werner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
super (Ubuntu)
New
Undecided
Unassigned

Bug Description

If the superfile file has only one character "/", executing "super -c superfile" will get Segmentation fault.

Environmental Information:

# lsb_release -rd
Description: Ubuntu 22.04 LTS
Release: 22.04

# dpkg-query -l super
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii super 3.30.3-2 amd64 Execute commands setuid root

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.