[Bug 795063] New: su-wrapper segfault if TERM variabile is not in environment
https://bugzilla.novell.com/show_bug.cgi?id=795063 https://bugzilla.novell.com/show_bug.cgi?id=795063#c0 Summary: su-wrapper segfault if TERM variabile is not in environment Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vanni.dellaricca@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=517536) --> (http://bugzilla.novell.com/attachment.cgi?id=517536) patch for fix segfaults User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11 If su-wrapper is invoked without TERM variable in environment, wu-warapper segfaults. I attach a patch that set a dafault value form TERM in getenv("TERM") return a null Reproducible: Always Steps to Reproduce: 1. invocke su-wrapper from a process without TERM variable 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=795063
https://bugzilla.novell.com/show_bug.cgi?id=795063#c
Jiaying ren
https://bugzilla.novell.com/show_bug.cgi?id=795063
https://bugzilla.novell.com/show_bug.cgi?id=795063#c1
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=795063
https://bugzilla.novell.com/show_bug.cgi?id=795063#c2
--- Comment #2 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=795063
https://bugzilla.novell.com/show_bug.cgi?id=795063#c3
--- Comment #3 from Vanni Della Ricca
https://bugzilla.novell.com/show_bug.cgi?id=795063
https://bugzilla.novell.com/show_bug.cgi?id=795063#c3
--- Comment #3 from Vanni Della Ricca
https://bugzilla.novell.com/show_bug.cgi?id=795063
https://bugzilla.novell.com/show_bug.cgi?id=795063#c5
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=795063
https://bugzilla.novell.com/show_bug.cgi?id=795063#c6
--- Comment #6 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=795063
https://bugzilla.novell.com/show_bug.cgi?id=795063#c7
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=795063
https://bugzilla.novell.com/show_bug.cgi?id=795063#c8
--- Comment #8 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com