commit | 5aa0dd42f7b45b5ef2bceb8510aeb2a892866abf | [log] [tgz] |
---|---|---|
author | ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com> | Mon Mar 19 13:46:05 2018 +0900 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Mon Mar 19 07:45:20 2018 +0200 |
tree | 4f8b8715cb8929f8c269e5b9d1da9e214168113d | |
parent | 1c1f807c304a77ae4965f00ccee04fdbe7415d5e [diff] |
shared/shell: Return NULL if generator error occur Explicitly returns NULL if asprintf() fails, since the asprintf(3) man-page says that the contents of the first argument are undefined if any error occurs.