Zeroed out executable binary will return no output without error

(Doc ID 1907665.1)

Last updated on JULY 22, 2014

Applies to:

Solaris SPARC Operating System - Version 8.0 to 11.1 [Release 8.0 to 11.0]
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86 (32-bit)

Symptoms

If an executable binary is zeroed out and have size of zero, running the command will just return no output without any error.
This may cause issue in troubleshooting since user did not expect that the binary itself is having problem and there is no error messages.

Example:

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms