Bug 106306 - tcpdump bad source code
Summary: tcpdump bad source code
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: tcpdump
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-10-05 09:22 UTC by d.binderman
Modified: 2007-04-18 16:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-10-06 08:55:54 UTC
Embargoed:


Attachments (Terms of Use)

Description d.binderman 2003-10-05 09:22:35 UTC
Description of problem:

Hello there,

I just tried to compile package tcpdump-3.7.2-1, from Redhat 9.0,
with compiler flag -Wall.

The compiler said

print-isoclns.c:1300: warning: operation on `tptr' may be undefined

The source code is

tptr+=*tptr++;

You probably meant to say

tptr += *tptr;
++tptr;

         




Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
    
Actual results:


Expected results:


Additional info:

Comment 1 Harald Hoyer 2003-10-06 08:55:54 UTC
please report this issue upstream to the developers of tcpdump
http://www.tcpdump.org


Note You need to log in before you can comment on or make changes to this bug.