On Thu, Nov 22, 2012 at 6:14 AM, Glenn Fowler <[email protected]> wrote:
>
> 2012-11-21 alphas posted

I found three "valgrind" hits in the spawnvex code.
Testcase looks more or less like this on SuSE 12.2/Linux/AMD64 (note
that "==15606==" and "==15613==" are pid numbers):
-- snip --
$ valgrind  --track-origins=yes ./arch/linux.i386-64/bin/ksh -c 'ls ; true'
[snip]
==15606== Conditional jump or move depends on uninitialised value(s)
==15606==    at 0x52B05B: spawnvex (spawnvex.c:1088)
==15606==    by 0x472966: _spawnveg (path.c:147)
==15606==    by 0x47620A: path_spawn (path.c:1230)
==15606==    by 0x48EA02: sh_ntfork (xec.c:3824)
==15606==    by 0x487C9F: sh_exec (xec.c:1667)
==15606==    by 0x489A64: sh_exec (xec.c:2193)
==15606==    by 0x419E56: exfile (main.c:582)
==15606==    by 0x41901B: sh_main (main.c:354)
==15606==    by 0x418120: main (pmain.c:45)
==15606==  Uninitialised value was created by a stack allocation
==15606==    at 0x52AEEF: spawnvex (spawnvex.c:782)
==15606==
==15606== Conditional jump or move depends on uninitialised value(s)
==15606==    at 0x52B417: spawnvex (spawnvex.c:1179)
==15606==    by 0x472966: _spawnveg (path.c:147)
==15606==    by 0x47620A: path_spawn (path.c:1230)
==15606==    by 0x48EA02: sh_ntfork (xec.c:3824)
==15606==    by 0x487C9F: sh_exec (xec.c:1667)
==15606==    by 0x489A64: sh_exec (xec.c:2193)
==15606==    by 0x419E56: exfile (main.c:582)
==15606==    by 0x41901B: sh_main (main.c:354)
==15606==    by 0x418120: main (pmain.c:45)
==15606==  Uninitialised value was created by a stack allocation
==15606==    at 0x52AEEF: spawnvex (spawnvex.c:782)
==15606==
==15613== Conditional jump or move depends on uninitialised value(s)
==15613==    at 0x52B0B5: spawnvex (spawnvex.c:1106)
==15613==    by 0x472966: _spawnveg (path.c:147)
==15613==    by 0x47620A: path_spawn (path.c:1230)
==15613==    by 0x48EA02: sh_ntfork (xec.c:3824)
==15613==    by 0x487C9F: sh_exec (xec.c:1667)
==15613==    by 0x489A64: sh_exec (xec.c:2193)
==15613==    by 0x419E56: exfile (main.c:582)
==15613==    by 0x41901B: sh_main (main.c:354)
==15613==    by 0x418120: main (pmain.c:45)
==15613==  Uninitialised value was created by a stack allocation
==15613==    at 0x52AEEF: spawnvex (spawnvex.c:782)
[snip]
-- snip --

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to