Bug 97681 - [maintainer-update] net/isc-dhcp3-server: better fix for time_t size problem on *64 ARCHS
Summary: [maintainer-update] net/isc-dhcp3-server: better fix for time_t size problem ...
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: Sergey Matveychuk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-23 09:50 UTC by Joerg Pulz
Modified: 2006-05-24 07:35 UTC (History)
1 user (show)

See Also:


Attachments
net_isc-dhcp3-server.diff (3.54 KB, patch)
2006-05-23 09:50 UTC, Joerg Pulz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Pulz 2006-05-23 09:50:19 UTC
	Fix the time_t problem on *64 ARCHS without introducing a possible
	security risk by writing 8 bytes to a 4 byte declared variable.

	My first fix was really a ugly quick hack as some reallife tasks took
	slightly longer than i thought.
	I'm really sorry for all this trouble.

	Many thanks to Dan Lukes <dan_at_obluda.cz> for pointing this out and
	providing the patch.

	Tested on:	RELENG_6_1 amd64, sparc64 with Windows XP client

Fix: - apply the patch
	- add files/patch-server::dhcp.c to CVS
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2006-05-23 14:10:06 UTC
Did somebody test the fix?

-- 
Dixi.
Sem.
Comment 2 Sergey Matveychuk freebsd_committer freebsd_triage 2006-05-23 14:11:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Take it.
Comment 3 Joerg Pulz 2006-05-23 18:59:52 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Tue, 23 May 2006, Sergey Matveychuk wrote:

> Did somebody test the fix?

I've tested it on my amd64 and sparc64 with an Windows XP Client.
Do you need more testers?

regards
Joerg

- -- 
The beginning is the most important part of the work.
 				-Plato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEc02bSPOsGF+KA+MRAlzaAJ9jba+Gffyo7j1PxiK3pb3oOoZvTQCgyY1m
3orT2+ebNoQXP0b5fw4COgQ=
=XcYK
-----END PGP SIGNATURE-----
Comment 4 Sergey Matveychuk freebsd_committer freebsd_triage 2006-05-24 07:35:44 UTC
State Changed
From-To: open->closed

Committed. Thanks!