Closed Bug 276303 Opened 20 years ago Closed 20 years ago

Do not load javaplugin if it's not a symlink

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: yuanyi21, Assigned: yuanyi21)

References

Details

Attachments

(1 file)

Installing java plugin on Linux/UNIX is always a tricky work. Some users will
get mozilla crash if they copy the javaplugin library to the plugins directory
instead of creating a symbolic link.
Attachment #169783 - Flags: superreview?(jst)
Attachment #169783 - Flags: review?(jst)
Comment on attachment 169783 [details] [diff] [review]
prevent non-symlink javaplugin from loading

what happens if it's called sunjplugin ? can you possibly scan the file instead
of the filename?
Scanning the filename is not the best way but it's the cheapest one. Also, Sun
does not have any plan to change the plugin library name at least within 3 years.
Attachment #169783 - Flags: superreview?(jst)
Attachment #169783 - Flags: review?(jst)
java plugin has already fixed this in their code. close it.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Which Java version has got this fixed, is it already in 5.0 Update 1 ?
yes, I tried 1.5.0_01-b06 on Solaris, mozilla won't crash even if the javaplugin
library is not a symbolic link.
*** Bug 283239 has been marked as a duplicate of this bug. ***
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: