Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33671 - giram-0.3.4: povfront broken
Summary: giram-0.3.4: povfront broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-17 05:40 UTC by Felix Wiemann
Modified: 2003-11-17 20:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Wiemann 2003-11-17 05:40:41 UTC
$ povfront
Segmentation fault
$ qpkg -f `which povfront`
media-gfx/giram *

Remerging giram (version 0.3.4) doesn't help.
Comment 1 Brandy Westcott (RETIRED) gentoo-dev 2003-11-17 20:56:45 UTC
Nice catch Felix. This is now fixed in cvs.

povfront was segfaulting on line 4487 of povfront.c:

	4487	if (strlen (g_config_file_to_parse) == 0)

strlen (g_config_file_to_parse) returns NULL if a configuration file doesn't exist, which causes the if statement to fall over.
A better way of checking to see if we do not have a config file is to use:

	4487	if (g_config_file_to_parse == NULL)

I've also sent this bug upstream.