Closed Bug 41780 Opened 25 years ago Closed 25 years ago

When CurrentPage/findInPage(stringToFind, forward, matchCase) is invoked with stringToFind==null, then JVM crashes

Categories

(Core Graveyard :: Java APIs to WebShell, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ovk, Assigned: ashuk)

Details

(Keywords: crash)

Attachments

(1 file)

When CurrentPage/findInPage(java.lang.String stringToFind, boolean forward, boolean matchCase) method is invoked with stringToFind==null, then JVM crashes: # # HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION # # Error ID: 4F533F57494E13120E43505002B7 # abnormal program termination Build Date & Platform: Mozilla M13, Webclient source from June,6; WinNT 4.0 with SP4.
M13 is pretty old. . . Have you tried a nightly build?
As I know, webclient is still not work with any builds, exclude M13
Adding crash keyword.
Keywords: crash
And this one :-) Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
a
Status: NEW → ASSIGNED
I tested it on M16, and JVM still crashes.
Find is Ashu's.
Assignee: edburns → ashuk
Status: ASSIGNED → NEW
Fixed. Checked in changes. Pls see attachment for patch. Checks to see if Find string is non-null before setting in the SearchContext object.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I mark it as verified.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: