[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a bugger on the pwd code
From: |
杨光辉 |
Subject: |
a bugger on the pwd code |
Date: |
Wed, 14 Nov 2007 23:20:56 +0800 |
/*pwd.c on the coreutils-6.9*/
static void
robust_getcwd (struct file_name *file_name)
{
size_t height = 1;
262 struct dev_ino dev_ino_buf;
263 struct dev_ino *root_dev_ino = get_root_dev_ino (&dev_ino_buf);
.......
}
The line 262 and 263 have something wrong. "dev_ino_buf " didn't allocate
memory. I compilered the pwd.c and found some buggers. Maybe I'm wrong.
- a bugger on the pwd code,
杨光辉 <=