In the rpc_iwinfo_scan() function of rpcd, the local buffer res is defined but not explicitly initialized:
char res[IWINFO_BUFSIZE];
This buffer is reused multiple times during the scan process. Without proper initialization (e.g., memset), this may lead to garbage data or leftover content from previous iterations, especially if the content length varies across calls.