
30 Aug
2023
30 Aug
'23
2:32 p.m.
On Wed, Aug 30, 2023 at 1:59 PM Peter Krempa <pkrempa@redhat.com> wrote:
The 'port' buffer is passed to 'getnameinfo' which is supposed to fill it but it's not actually later used. Drop the buffer as 'getnameinfo' allows NULL arguments if they are not needed.
Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- tools/nss/libvirt_nss.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Reviewed-by: Kristina Hanicova <khanicov@redhat.com> Kristina