1
0

patch-svr-main_c 547 B

123456789101112131415
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. * bzero is obsolete, use memset
  3. --- dropbear-0.52.orig/svr-main.c 2008-11-11 15:09:03.000000000 +0100
  4. +++ dropbear-0.52/svr-main.c 2009-05-23 16:13:30.569366604 +0200
  5. @@ -133,7 +133,7 @@ void main_noinetd() {
  6. for (i = 0; i < MAX_UNAUTH_CLIENTS; i++) {
  7. childpipes[i] = -1;
  8. }
  9. - bzero(preauth_addrs, sizeof(preauth_addrs));
  10. + memset(preauth_addrs, 0, sizeof(preauth_addrs));
  11. /* Set up the listening sockets */
  12. listensockcount = listensockets(listensocks, MAX_LISTEN_ADDR, &maxsock);