Web lists-archives.com

Re: Bug report: Core dump with too many args




On Wed, 7 Nov 2018 13:37:53, Ole Tange wrote:
I get core dump when running:

$ /bin/echo `seq 1000000`
Segmentation fault (core dumped)

This also looks bad:

$ /bin/wc `seq 1000000`
      2 [main] -bash 15396 C:\cygwin\bin\bash.exe: *** fatal error - cmallo=
c would have returned NULL
Hangup

Not sure what you are expecting to happen when you provide pathological input to
the shell? For context - Fedora essentially does the same thing:

   $ /bin/echo `seq 1000000`
   Killed


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple