Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2000 17:22:18 -0400 (EDT)
From:      aa8vb@ipass.net
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        aa8vb@ipass.net
Subject:   bin/18332: od core dump
Message-ID:  <200005012122.RAA01494@rr.com>

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

>Number:         18332
>Category:       bin
>Synopsis:       od core dumps when fed a file with some values
>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:   Mon May  1 14:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Randall Hopper
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
self
>Environment:

        Stock 3.4-RELEASE.

>Description:

        When fed a file with Nan/Inf/etc. floats, od -f can core dump.  An
        example is attached.  This is the front 1KB of a float-only file in
        big-endian format which, as one would expect, is more likely to
        trip these odd conditions when read as little-endian.

>How-To-Repeat:

	od -f floats.out (see attached datafile)

>Fix:
	
	Unknown.  Could just need a little SIGFPE handling.

begin 644 floats.out
M/X```#^```!"2```0D@``#?D'P(XHO]+.,/HP#@A=M*XR%74N9^DFKH7RM*Z
M;A!<NJ??`+K=#S^["J]SNR?:H[M%B\R[8U'*NX!B7+N.P86[G)>&NZFV=[NU
M\+J[P1BON\L`O+O3>ZF[VEU.N]][>+OBKQ>[X]6]N^+42+O?F1V[VAT=N])D
M\KO(@KN[O)=FNZ[3@+N?=UV[CM*/NWJ%([M685F[,AXANPZJE+K9\)BZF^3$
MNDG/J;G9\&"Y#M8^.()-R3DY@`TY786O.3F89CC1E%0WYL8Z-\<XA3@9EWFX
M>],XN:D:8[I);)VZMGS2NPZF0;M+"RF[AV+/NZP8_[O2X3>[^P+LO!'J%KPF
M7`6\.HX:O$X[)+QA(+F\<OX]O('*)+R)4C*\C_B<O)6?BKR:*FV\G7Z?O)^$
M++R@)LJ\GU;MO)T*T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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?200005012122.RAA01494>