bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange bug, alloca suspected


From: Keith Owens
Subject: Re: strange bug, alloca suspected
Date: Wed, 14 Feb 2001 11:41:54 +1100

On Tue, 13 Feb 2001 22:10:27 +0100, 
Yann Droneaud <address@hidden> wrote:
>Modprobe don't use alloca() correctly, then glibc failed. (stack corruption ?)
>This mail is sent to glibc, gcc and modutils maintainers.

Thanks, modutils bug, not a glibc problem.  Against modutils 2.4.2.

Index: 3.2/insmod/modprobe.c
--- 3.2/insmod/modprobe.c Fri, 19 Jan 2001 17:26:33 +1100 kaos 
(modutils-2.4/b/10_modprobe.c 1.2 644)
+++ 3.2(w)/insmod/modprobe.c Wed, 14 Feb 2001 11:39:38 +1100 kaos 
(modutils-2.4/b/10_modprobe.c 1.2 644)
@@ -1503,7 +1503,7 @@ int main(int argc, char *argv[])
                {"help", 0, 0, 'h'},
                {0, 0, 0, 0}
        };
-       int i, l = 0;
+       int i, l = 1;
        char *command;
 
        for (i = 0; i < argc; ++i)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]