misc/115156: less -E causes segmentation fault in certain circumstances.

Ted Hatfield ted at pat.io.com
Thu Aug 2 20:40:02 UTC 2007


>Number:         115156
>Category:       misc
>Synopsis:       less -E causes segmentation fault in certain circumstances.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 02 20:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ted Hatfield
>Release:        FreeBSD 6.2-Stable
>Organization:
PrismNet Inc.
>Environment:
FreeBSD tempest.prismnet.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Jul 22 04:06:03 CDT 2007     root at test.prismnet.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Error description:

Using less -E or more to display a file that is less than a full page, while then displaying a nonexistent file causes a segmentation fault.

For example on a newly built system you can

less -E /etc/group bogusfile


This will display the file ending with

/etc/group (file 1 of 2) (END) - Next: bogusfile

when you press space or return it gives

Segmentation fault: 11

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list