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

Matt Emmerton via Redmine bugtracker-admin at leaf.dragonflybsd.org
Fri Jan 4 11:31:44 PST 2013

Issue #2480 has been updated by Matt Emmerton.

As far as I can tell, this should cause similar problems on FreeBSD whose dialog also has MAX_LEN 2048.

Suggest two changes:
- work with upstream maintainer to increase MAX_LEN (4k is sufficient, but a higher limit may be useful)
- merge up to FreeBSD r224014 which is upstream 1.1-20110707

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