Re: [PATCH 6/8] nss: aiforaf: Drop unused buffer 'port'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, Aug 30, 2023 at 1:59 PM Peter Krempa <pkrempa@xxxxxxxxxx> 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@xxxxxxxxxx>
---
 tools/nss/libvirt_nss.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Kristina Hanicova <khanicov@xxxxxxxxxx>

Kristina

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux