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