Zero out some memory that scanbuild thought might be used

Review Request #716 — Created June 2, 2021 and submitted

grim
pidgin/pidgin
release-2.x.y
f94b506759c6
pidgin
Zero out some memory that scanbuild thought might be used

Verified that scanbuild no longer detected the errors.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
rlaager
  1. 
      
  2. libpurple/desktopitem.c (Diff revision 1)
     
     

    I think you want this instead:

    char buf[BUFSIZ] = { 0 };

  3. 
      
grim
rekkanoryo
  1. Ship It!
  2. 
      
grim
Review request changed

Status: Closed (submitted)

rlaager
  1. Ship It!
  2. 
      
Loading...