Bug#452789: xxd segfaults with large values for -c

2007-11-29 Thread James Vega
On Wed, Nov 28, 2007 at 09:19:46AM -0500, James Vega wrote: On Tue, Nov 27, 2007 at 10:26:31PM +0100, Bram Moolenaar wrote: I'm not the maintainer of xxd, but since it's included with Vim I tried fixing it anyway. Please try the patch below and check that it fixes the problem for you.

Bug#452789: xxd segfaults with large values for -c

2007-11-29 Thread Bram Moolenaar
James - On Wed, Nov 28, 2007 at 09:19:46AM -0500, James Vega wrote: On Tue, Nov 27, 2007 at 10:26:31PM +0100, Bram Moolenaar wrote: I'm not the maintainer of xxd, but since it's included with Vim I tried fixing it anyway. Please try the patch below and check that it fixes the

Bug#452789: xxd segfaults with large values for -c

2007-11-29 Thread James Vega
On Thu, Nov 29, 2007 at 09:19:10PM +0100, Bram Moolenaar wrote: James - On Wed, Nov 28, 2007 at 09:19:46AM -0500, James Vega wrote: On Tue, Nov 27, 2007 at 10:26:31PM +0100, Bram Moolenaar wrote: I'm not the maintainer of xxd, but since it's included with Vim I tried fixing it

Bug#452789: xxd segfaults with large values for -c

2007-11-28 Thread James Vega
On Tue, Nov 27, 2007 at 10:26:31PM +0100, Bram Moolenaar wrote: I'm not the maintainer of xxd, but since it's included with Vim I tried fixing it anyway. Please try the patch below and check that it fixes the problem for you. That does work. Thanks. James -- GPG Key: 1024D/61326D40

Bug#452789: xxd segfaults with large values for -c

2007-11-27 Thread Bram Moolenaar
James - Large values for the -c option (approximately 100 or greater) cause xxd to segfault. Where the segfault occurs seems to vary based on how large the columns option is. I get this traceback when running xxd -b -c 100 /usr/bin/xxd. Program terminated with signal 11, Segmentation

Bug#452789: xxd segfaults with large values for -c

2007-11-25 Thread James Vega
Bram, Large values for the -c option (approximately 100 or greater) cause xxd to segfault. Where the segfault occurs seems to vary based on how large the columns option is. I get this traceback when running xxd -b -c 100 /usr/bin/xxd. Program terminated with signal 11, Segmentation fault.