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

Plug-in causes IE to crash if auto config URL has more than 139 characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • deploy
    • beta2
    • x86
    • windows_2000



      Name: yyT116575 Date: 07/11/2001


      java version "1.3.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
      Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)

      Note: I am submitting this bug again since I don't believe the original
      evaluation (review ID 126694) accurately addressed my issue. I can also
      provide Microsoft's findings if needed.

      In IE 5.01 and 5.5, if automatic configuration script is used,
      and the script URL contains more than 139 characters, IE will crash (just
      disappear)
      when launching the Java Plug-in (1.3.1). There is no error message
      nor messages in the Event Viewer. The other two options "Automatic detect
      settings" and "Proxy Server" are NOT checked.

      This happens regardless whether the plug-in proxy setting has "use browser
      setting" or not.

      I have already contacted Microsoft support and they gave me a memory dump,
      showing some calls the Java Plugin is making as an in-process COM server
      running in IE. But they can't do much about it since they don't have the source
      code of the plug-in.

      Steps to reproduce the problem:
      In IE, under Tools/Internet Options/Connections/LAN Settings, choose "Use
      automatic configuration script",
      In the textbox, put the URL of the pac file:
      http://localhost/a1234567890123456789/b1234567890123456789/c1234567890123456
      789/d1234567890123456789/e1234567890123456789/test1234567890.pac
      Leave other option unchecked.

      As you can see, it is a very long URL with more than 140 characters.

      Then go to a web page which contains Java Plug-in. For example,
      http://192.9.48.9/products/plugin/1.3/demos/applets/Clock/example1.html
      This is the Java Demo site.

      As the browser is loading the plug-in, the browser closes on its own and
      doesn't give any error message.

      If we try a pac URL which is shorter than 140 character, e.g.
      http://localhost/test.pac, then the browser doesn't close, and you can see
      the applet.

      The content of the PAC doesn't really make a difference. In the test, it just
      return "DIRECT".
      (Review ID: 127807)
      ======================================================================

            duke J. Duke
            yyoungsunw Yung-ching Young (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: