IBM Support

IV91431: GETSOCKNAME() RETURNS INCORRECT NAMELENGTH 16/12/29 PTF PECHANGE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • **************************************************************
    * USERS AFFECTED:
      * Systems running the AIX 7100-04 Technology Level
      * with bos.mp64 at the 7.1.4.30 level.
      **************************************************************
      * PROBLEM DESCRIPTION:
      * In 7100-04-03 and 7200-01-00/01, the
      * getsockname() API returns incorrect NameLength.
      * It can also truncate the socket path, for long paths.
      *
      * We have seen this cause a failure in starting SAP.
      **************************************************************
      * RECOMMENDATION:
      * Install APAR IV91431.
      * Prior to fix availability, an interim fix is available from
      * either
      * ftp://aix.software.ibm.com/aix/ifixes/iv91431/
      * https://aix.software.ibm.com/aix/ifixes/iv91431/
      * Installation of the ifix requires a reboot.
      **************************************************************
    

Local fix

Problem summary

  • The getsockname() call copies the length of
    the full socket address structure (1025) into the
    NameLength field instead of the actual size of
    the socket address.
    .
    There are also issues with storing socket addresses
    greater than 255 characters that cause getsockname()
    to return truncated path for such sockets.
    

Problem conclusion

  • Restore the correct behavior of getsockname() with
    regard to the above issues.
    

Temporary fix

  •   *********
      * HIPER *
      *********
    

Comments

APAR Information

  • APAR number

    IV91431

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-09

  • Closed date

    2016-12-09

  • Last modified date

    2016-12-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IV91432 IV91438 IV91439

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U873031

       UP16/12/19 I 1000 Ž

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11R"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
19 April 2022