Bug Tracker

Ticket #2620 (new bug)

Opened 8 months ago

Last modified 7 months ago

event.fix() possible null dereference

Reported by: jacob Assigned to: anonymous
Type: bug Priority: trivial
Milestone: 1.2.4 Component: event
Version: 1.2.3 Keywords:
Cc: Needs: Test Case

Description

event.fix() does some checks for document.documentElement being not null before it dereferences them, but not enough.

Attachments

event-2620.patch (0.8 kB) - added by jacob 8 months ago.
don't dereference doc if it's null

Change History

Changed 8 months ago by jacob

don't dereference doc if it's null

Changed 8 months ago by davidserduke

Are you actually seeing a bug because of this behavior in some browser or is this written up through a code review?

Changed 7 months ago by flesler

  • need changed from Review to Test Case
Note: See TracTickets for help on using tickets.