]> git.ipfire.org Git - thirdparty/util-linux.git/commit
uuidgen: use xmalloc instead of malloc (#2714)
authorThorsten Kukuk <kukuk@suse.com>
Tue, 26 Mar 2024 08:49:22 +0000 (09:49 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 26 Mar 2024 12:12:37 +0000 (13:12 +0100)
commit76be93e4ab37ed5e31de2fc8ec6207b082491162
tree38f878d5d9f89eef9539366305ca6b4b25877d28
parent026aff5e82c288d571b799891dad640504342e35
uuidgen: use xmalloc instead of malloc (#2714)

Use xmalloc to make sure we don't reference a NULL pointer in error
case.

Signed-off-by: Thorsten Kukuk <kukuk@suse.com>
(cherry picked from commit 0b14dcd755565f3e48f4c30011b3dfe783558393)
misc-utils/uuidgen.c