Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 1999 17:21:09 +0400 (MSD)
From:      Grigoriy Strokin <grg@isabase.philol.msu.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/12242: segmentation fault running /usr/bin/fmt
Message-ID:  <199906161321.RAA00800@isabase.philol.msu.ru>

next in thread | raw e-mail | index | archive | help

>Number:         12242
>Category:       bin
>Synopsis:       segmentation fault running /usr/bin/fmt
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 16 06:30:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Grigoriy Strokin
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
Moscow University
>Environment:

	

>Description:

There is a file that, when passed as input to /usr/bin/fmt,
produces segmentation fault.

>How-To-Repeat:

uudecode this file:

begin 644 fmt.BUG.txt
M+G0@=&%G(&-O;F9I9W5R92!B;VQD("UF;VYT(%P@*BU#;W5R:65R+4)O;&0M
M4BU.;W)M86PM*BTQ,C`M*B!C<F5A=&5S(&$@=&%G(&YA;65D(&)O;&0@9F]R
M('1H92!T97AT('=I9&=E="!A;F0@87-S;V-I871E<R!A(&)O;&0@9F]N="!W
M:71H('1H870@=&%G+B!4:&4@<V-R:7!T('=I;&P@87!P;'D@=&AI<R!T86<@
M=&\@=&AE(&-H87)A8W1E<G,@:6X@=&AE('!R;VUP=',@<V\@=&AA="!T:&5Y
M(&%P<&5A<B!I;B!B;VQD9F%C92P@=VAE<F5A<R!T:&4@8V]M;6%N9',@86YD
M(')E<W5L=',@87!P96%R(&EN(&$@;F]R;6%L(&9O;G0N(%1H92!S96-O;F0@
M<&%R="!O9B!T:&4@<V-R:7!T(&9I;&QS(&EN('1H92!M96YU('=I=&@@='=O
M(&5N=')I97,N(%1H92!T;W`@96YT<GD@9&ES<&QA>7,@82!C87-C861E9"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S
+(&%R9W5M96YT+@IK
`
end

then run
  fmt fmt.BUG.txt
This will give segmentation fault.

>Fix:
	
	


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906161321.RAA00800>