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

pass wrong parameter to gethostbyaddr_r() in java_net_InetAddressImpl_getLocalHo

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1.3
    • hotspot
    • sparc
    • solaris_2.5.1



      Name: rlT66838 Date: 07/21/97


      1. try hello world example in RMI

      2. why: hp = gethostbyaddr_r(hp->h_addr,
         hp->h_length, AF_INET,&res, buf, sizeof(buf),
         &h_error)return localhost but not actual host
         name.

      3. err msg: HelloImpl err: Server RemoteException;
         nested exception is:java.rmi.AccessException:
         Registry.rebind mozart.insight.att.com/135.205
         .206.201 != localhost/127.0.0.1



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

            never Tom Rodriguez
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: