lkml.org 
[lkml]   [1998]   [Apr]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 20 Apr 1998 12:21:03 +0200
FromGuest <>
Subjectinode->i_count security hole
Hello,

while browsing through include/linux/fs.h in 2.1.79 I noticed that
i_count is not unsigned long as it's supposed to be (i_count overflow).
Is that a bug or am I missing something ?

regards,
Martin
ps. Small patch in case it is a bug:
--- fs.h-orig   Mon Apr 20 12:20:24 1998
+++ fs.h        Mon Apr 20 12:20:33 1998
@@ -324,7 +324,7 @@
        struct list_head        i_dentry;

        unsigned long           i_ino;
-       unsigned int            i_count;
+       unsigned long           i_count;
        kdev_t                  i_dev;
        umode_t                 i_mode;
        nlink_t                 i_nlink;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [from the cache]
©2003-2008