1
0

patch-misc-utils_namei_c 472 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- util-linux-2.12r.orig/misc-utils/namei.c 2004-12-23 00:03:39.000000000 +0100
  3. +++ util-linux-2.12r/misc-utils/namei.c 2008-10-16 11:48:55.000000000 +0200
  4. @@ -242,7 +242,7 @@ namei(char *file, int lev) {
  5. * call namei()
  6. */
  7. - bzero(sym, BUFSIZ);
  8. + memset(sym, 0, BUFSIZ);
  9. if(readlink(buf, sym, BUFSIZ) == -1){
  10. (void)printf(_(" ? problems reading symlink %s - %s (%d)\n"), buf, ERR);
  11. return;