Closed Bug 470028 Opened 17 years ago Closed 16 years ago

using %lld PR_scanf format directly on a PRTime is not portable

Categories

(Core Graveyard :: History: Global, defect)

Sun
NetBSD
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: martin, Unassigned)

Details

Attachments

(1 file)

Attached patch portability fixSplinter Review
On a 64 bit architecture with 32 bit PRTime using Pr_scanf with %lld format directly into a PRTime variable may overwrite stack content and give bogus results.
AFAICT the referenced code is no longer in the mozilla tree, a casual grep shows no similar issues and we no longer have similar patches in the NetBSD packages collection. As such, I believe the bug can be closed.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: