IBM Support

IV56395: VSWPRINTF & SWPRINTF SHOULD ADD SINGLE NULL TERMINAL CHARACTER APPLIES TO AIX 6100-09

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The vswprintf and swprintf APIs should add only one NULL
    terminal character instead of the current behavior, where
     we fill NULL characters in the remaining buffer.
    Though this is not a defect or against our documentation,
    but this behavior is not inline
    with UNIX flavors, making portability of the code
    tougher.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:
    * Systems running the 6100-09 Technology Level with the
    * bos.rte.libc fileset below the 6.1.9.15 level.
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * The vswprintf and swprintf APIs should add only one NULL
    * terminal character instead of the current behavior, where
    *  we fill NULL characters in the remaining buffer.
    * Though this is not a defect or against our documentation,
    * but this behavior is not inline
    * with UNIX flavors, making portability of the code
    * tougher.
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IV56395.
    ****************************************************************
    

Problem conclusion

  • Code changes are made to ensure that vswprintf and swprintf
    add only one NULL terminating character in the output.
    

Temporary fix

Comments

  • 6100-09 - use AIX APAR IV56395
    6100-09 - use AIX APAR IV56395
    6100-09 - use AIX APAR IV56395
    7100-03 - use AIX APAR IV56004
    7100-04 - use AIX APAR IV56518
    

APAR Information

  • APAR number

    IV56395

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-03-07

  • Closed date

    2014-03-07

  • Last modified date

    2016-05-10

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

    IV56004

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

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U866355

       UP14/05/21 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLLZP","label":"AIX Standard Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"APARs - AIX 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 May 2016