Closed Bug 498586 Opened 16 years ago Closed 16 years ago

Wrong behavior of crypt function in Firefox 3.5 Preview (with JIT for content enabled)

Categories

(Core :: JavaScript Engine, defect, P1)

1.9.1 Branch
x86
macOS
defect

Tracking

()

RESOLVED WORKSFORME
mozilla1.9.1

People

(Reporter: kondzior.p, Assigned: gal)

Details

(Whiteboard: regression, regression-window-needed)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b99) Gecko/20090605 Firefox/3.5b99 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b99) Gecko/20090605 Firefox/3.5b99 Crypt is class for client side password hashing with salt, it's broke on firefox 3.5 Preview with JIT for content enabled Reproducible: Always Steps to Reproduce: 1. Open attached test case in Firefox 3.5 Preview 2. Result is and Should be values will be different I use this crypt function for hashing password from client side on my site, with Firefox 3.5 Preview users cannot log in to my page.
Attached file Testcase
Version: unspecified → 3.5 Branch
Flags: blocking-firefox3.5?
Assignee: nobody → general
Component: General → JavaScript Engine
Flags: blocking-firefox3.5?
Product: Firefox → Core
QA Contact: general → general
Version: 3.5 Branch → 1.9.1 Branch
Investigating. If I can confirm this, we probably have to block on it. Asking for b? in the meantime. Hold off on b+ until I looked at it.
Assignee: general → gal
Severity: major → critical
Flags: blocking1.9.1?
Priority: -- → P1
Target Milestone: --- → mozilla1.9.1
Andreas, I apologize for ever having written code (well, ported it, see the comment from the original source linked below) so ugly as that and for making you grovel through it: http://whereswalden.com/tech/internet/javacrypt/
The (my!) testcase works for me in a 20090615 nightly; with any luck we fixed this between 20090605 and now -- not implausible given some of the bugs fixed in that time.
This works in TM tip shell. We need a regression window.
Whiteboard: regression, regression-window-needed
Confirmed to work in 1.9.1 tip shell. Closing as WFM based on Waldo's and my own testing. Pawel, can you confirm with rc1? (we should still bisect this)
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Flags: blocking1.9.1?
Resolution: --- → WORKSFORME
With Firefox 3.5 RC1 crypt() works ok. testcase result is correct, and i can loggin on my page.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: