Re: [PATCH 0/3] Try to do followfork using PTRACE_SETOPTIONS

2010-09-29 Thread Wang Chao
Ping :) Sent on 2010-9-16 16:33, Wang Chao wrote: > Hi all, > > The following 3 patches try to use PTRACE_SETOPTIONS to handle followfork > if kernel support works and are based on the discussion on maillist these > days. > > [PATCH 1/3] New function to handle parent relationship of new child >

Re: [PATCH] Shield against malloc() integer overflow

2010-09-29 Thread Dmitry V. Levin
On Thu, Sep 30, 2010 at 03:06:30AM +0400, Dmitry V. Levin wrote: > On Wed, Sep 29, 2010 at 11:57:19PM +0200, Lubomir Rintel wrote: [...] > > - if (!outstr) > > + if (!outstr && (INT_MAX - sizeof "\"...\"") / 4 > max_strlen) > > outstr = malloc(4 * max_strlen + sizeof "\"...\""); BT

Re: [PATCH] Shield against malloc() integer overflow

2010-09-29 Thread Dmitry V. Levin
On Wed, Sep 29, 2010 at 11:57:19PM +0200, Lubomir Rintel wrote: > Ridiculously high -s arguments could trigger an integer overflow and > result in less memory allocated than desired and in turn a heap overflow > and crash. Or at least annoy valgrind: This is "garbage in garbage out" principle in a

[PATCH] Shield against malloc() integer overflow

2010-09-29 Thread Lubomir Rintel
Ridiculously high -s arguments could trigger an integer overflow and result in less memory allocated than desired and in turn a heap overflow and crash. Or at least annoy valgrind: $ valgrind -q strace -o /dev/null -s655360 -f uname ==14212== Warning: silly arg (-2147483648) to malloc() --- u

[SPAM] Aliens spotted

2010-09-29 Thread Dione Rosine
A manhood that is fit for hulk can be yours http://evi.sametry-road.ru/ -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to clo

Latest sports goods at summer clearance prices

2010-09-29 Thread Tari Ferkel
Look no further for organ enhancement http://ijiy.gate-didinthe.ru/ -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud c