Bug#335792: please don't put a meg on the stack

2005-10-26 Thread Robert Bihlmeyer
tags 335792 + patch thanks Here's the patch I used locally. diff -ruN dvdisaster-0.63.2/debian/changelog dvdisaster-0.63.2+/debian/changelog --- dvdisaster-0.63.2/debian/changelog 2005-10-26 09:46:18.0 +0200 +++ dvdisaster-0.63.2+/debian/changelog 2005-10-25 22:54:07.0 +0200 @@

Bug#335792: please don't put a meg on the stack

2005-10-25 Thread Robert Bihlmeyer
Package: dvdisaster Version: 0.63.2-1 Severity: wishlist Creating a ecc file always resulted in a segfault for me. I finally traced the issue back to ScanImage() creating a 1MB structure (crcbuf) on the stack. Together with my ulimit for stack size this ended in SIGSEGV. Rewriting the code to