IBM Support

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

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • **************************************************************
    * USERS AFFECTED:
      * Systems running the AIX 7200-01 Technology Level
      * with bos.mp64 at the 7.2.1.0 or 7.2.1.1 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 IV91432.
      * Prior to fix availability, an interim fix is available from
      * either
      * ftp://aix.software.ibm.com/aix/ifixes/iv91432/
      * https://aix.software.ibm.com/aix/ifixes/iv91432/
      * 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

    IV91432

  • Reported component name

    AIX V7.2

  • Reported component ID

    5765CD200

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    YesHIPER

  • 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:

    IV91431

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

Fix information

  • Fixed component name

    AIX V7.2

  • Fixed component ID

    5765CD200

Applicable component levels

  • R720 PSY U872703

       UP16/12/21 I 1000 Ž

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSVEF8","label":"AIX 7.2 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11S","label":"AIX 7.2 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 December 2016