Bug 92899 - firefox-1.5.0.1,1 uses stack garbage for directory name [patch]
Summary: firefox-1.5.0.1,1 uses stack garbage for directory name [patch]
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-06 16:00 UTC by Don Lewis
Modified: 2006-02-19 22:23 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (616 bytes, patch)
2006-02-06 16:00 UTC, Don Lewis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Lewis freebsd_committer freebsd_triage 2006-02-06 16:00:21 UTC
	Firefox-1.5.0.1,1 stores a directory name in a character array
	on the stack.  It saves a pointer to that character array and
	uses it to access the array contents after the array has gone
	out of scope.  The old contents seem to get trashed on 4-STABLE,
	causing firefox to create a subdirectory under ~/.mozilla with
	a name generated from stack garbage.

	This problem does not seem to occur on 7-STABLE.

How-To-Repeat: 	Build and run firefox-1.5 on a 4-STABLE, i386 machine.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-02-06 20:27:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2006-02-19 22:23:09 UTC
State Changed
From-To: open->closed

Committed, thanks!