[DragonFlyBSD - Bug #2480] /usr/bin/dialog buffer size too small

G. Isenmann via Redmine bugtracker-admin at leaf.dragonflybsd.org
Fri Jan 4 12:13:36 PST 2013

Issue #2480 has been updated by G. Isenmann.

Hmm wonder, why I haven't seen this on FreeBSD-9.1?

Looks like there are two different versions:
/usr/src/gnu/lib/libodialog/dialog.h:#define MAX_LEN 4096
/usr/src/contrib/dialog/dialog.h:#define MAX_LEN 2048

The output of "/usr/bin/dialog --help" starts with:
cdialog (ComeOn Dialog!) version 1.1-20100428
Copyright 2000-2008,2011 Thomas E. Dickey

That seems to be the version from contrib, and AFAIKS this
versions has no problem with 3.7k output.

Bug #2480: /usr/bin/dialog buffer size too small

Author: G. Isenmann
Status: New
Priority: Normal
Target version: 

Running "make config" in /usr/dports/print/ghostscript9 crashes the dialog program.

Increasing the MAX_LEN value in /usr/src/gnu/lib/libdialog/dialog.h:78 from 2k to 20k "fixes" this issue.

The output size (using the default options in the above example) is about 3.7k. 

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list