Bug 1000210

Summary: tvtime-scanner crashed with SIGSEGV in strncpy()
Product: [Fedora] Fedora Reporter: triniton <trinitonadam>
Component: tvtimeAssignee: Tomas Smetana <tsmetana>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: geoubuntu, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-08 11:43:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
[1]
none
StacktraceSource none

Description triniton 2013-08-23 00:40:44 UTC
Created attachment 789406 [details]
[1]

Description of problem:


tvtime-scanner crashes with exit status 139.

The attachment [1] contains a testcase (under ./crash) crashing the
program. It ensures that you can easily reproduce the bug. Additionally,
under ./crash_info/, we include more information about the crash such as
a core dump, the dmesg generated by the crash, and its output.

Comment 1 triniton 2013-08-23 00:41:36 UTC
Created attachment 789407 [details]
StacktraceSource

Comment 2 POJAR GEORGE 2013-09-02 15:31:58 UTC
This seems to be the problem:
If env HOME unset(not empty), getenv("HOME") return NULL pointer and then causes strncpy() error.

Comment 3 Tomas Smetana 2013-09-03 07:10:34 UTC
Hi, thanks for the investigations.  I'll take a look at the crash.