Bug 149718 - undefined C code
Summary: undefined C code
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gwget
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thorsten Leemhuis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-25 18:08 UTC by David Binderman
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-21 12:36:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2005-02-25 18:08:31 UTC
Description of problem:

I just tried to compile package gwget-0.14.1-2 from 
Redhat Fedora Extras development tree.

The compiler said

wget-log.c:38: warning: operation on `p' may be undefined

The source code is

                                *p++ = *(p+1);

Clearly undefined code. Suggest

	{
		*p = *(p+1);
		++p;
	}


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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Thorsten Leemhuis 2005-04-21 12:36:08 UTC
current version in devel compiles fine on fc4t2 -- closing this, build requested


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