]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: fix memory leak [coverity scan]
authorKarel Zak <kzak@redhat.com>
Tue, 23 May 2023 08:43:59 +0000 (10:43 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 23 May 2023 08:43:59 +0000 (10:43 +0200)
commita5e0e06cc2ff05f01a3fcf799a5f2c2fe6fb217f
treec065aee182a852b58dd070dd59bc1298a62e7079
parentfe0b1e793c9017edba72768e2e0b4c769c204604
login: fix memory leak [coverity scan]

Let's use ul_path_read_buffer() to avoid memory allocation.

Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/login.c