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

marshalling a CORBA structure with nulls in blows up the client on receipt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • other-libs
    • beta
    • generic
    • generic



      Name: rlT66838 Date: 10/05/99


      idltojava allows you to marshal a structure that contains nulls,
      and this causes the (Java) recipient to blow up on receipt (under
      HotSpot it actually causes the VM to crash with a memory violation).

      May I suggest that you add a flag to idltojava, say -check, to be
      used with debug-mode code, that checks that structures it is
      marshalling are valid for earlier warning.

      May I also suggest that you make the unmarshalling code more robust,
      since inbound rubbish on a network connection should never blow
      up the ORB.

      (Review ID: 96143)
      ======================================================================

            kcavanauorcl Ken Cavanaugh (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: