IBM Support

IV93485: XARGS COMMAND DOES NOT HANDLE -L PARAMETER CORRECTLY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • xargs command -L paramater accept any positive integer
    value, but whatever value is used, the limit is hardcoded
    to have a maximum of 1024 lines per command.
    Depending on the -L size and the number of input args
    line
    the xargs might coredump in stack like :
    
    Segmentation fault in _cat_hard_close at 0xd017a474
    0xd017a474 (_cat_hard_close+0x134) 7c64c02e lwzx
    r3,r4,r24
    (dbx) where
    _cat_hard_close(??) at 0xd017a474
    catgets@AF7_6(??, ??, ??, ??) at 0xd017c0a0
    lcall(??, ??) at 0x10001ac0
    main(??, ??, ??) at 0x10000b1c
    

Local fix

  • Only local fix is not to use -L option if it is suitable
    for the command you are passing args to.
    

Problem summary

  • xargs command used with -L , might core or prints garbage
    value in output.
    

Problem conclusion

Temporary fix

Comments

  • This APAR is being closed FIN. This means that a solution to
    this APAR is expected to be delivered from IBM in a release
    (if any) to be available within the next 24 months.
    

APAR Information

  • APAR number

    IV93485

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-02-17

  • Closed date

    2017-08-16

  • Last modified date

    2017-08-16

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

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

    IV94348 IV94351 IV94370 IV95578 IV95759 IV95869

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

[{"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:
20 April 2022