Parent: 1c1f807c304a77ae4965f00ccee04fdbe7415d5e
Author: ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2018-03-19 07:45:20
Tree: 4f8b8715cb8929f8c269e5b9d1da9e214168113d
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.
Diffstat
| M | src/shared/shell.c | | | 9 | +++++++- - |
1 files changed, 7 insertions(+), 2 deletions(-)