Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4510833

empty string is handled like NULL that causes Mozilla crashing.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.3.1
    • deploy
    • None
    • beta3
    • sparc
    • solaris_2.6



      Name: slR10134 Date: 10/04/2001



      To reproduce this bug see description of bug #99880
      at bugzilla.mozilla.org.

      The reason of the bug is the following: apllet calls method
      appletContext.showDocument(url, target). And 'target' is the empty string: "".
      Then java plugin interprets empty string like "NULL", throws error message
      and makes Cleanup. During Cleanup plugin gets reading error and makes exit.
      First of all: I think that is not correctly to throw error message
      if 'target' either empty or NULL. It is responsibility of the browser
      to handle empty or NULL 'target' (not of java plugin). And
      java plugin must pass empty or NULL parameter to PluginManager.

      Second thought is that Cleanup is implemented with errors because as far as I
      understand
      it is the responsibility of the java plugin to open and close
      pipe connections to browser.

      ======================================================================

            skatzsunw Steven Katz (Inactive)
            slunegov Sergey Lunegov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: