Bug 1000210 - tvtime-scanner crashed with SIGSEGV in strncpy()
Summary: tvtime-scanner crashed with SIGSEGV in strncpy()
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: tvtime
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Smetana
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-23 00:40 UTC by triniton
Modified: 2014-09-08 11:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-08 11:43:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
[1] (46.03 KB, application/x-bzip)
2013-08-23 00:40 UTC, triniton
no flags Details
StacktraceSource (1.48 KB, text/plain)
2013-08-23 00:41 UTC, triniton
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.