Bug 136906

Summary: openh323-1.17.2-3: undefined C code
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Klaus Kämpf <kkaempf>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2005-12-05 14:24:33 UTC
I just tried to compile package openh323-1.17.2-3 with a prerelease of the
GNU C compiler version 4.1. It said

1.

./iLBC/iCBSearch.c:124: warning: operation on `pp' may be undefined

The source code is

                   *ppe+=(*pp)*(*pp++);

I agree with the compiler - this code seems to be undefined.

Suggest new code 

                   *ppe+=(*pp)*(*pp);
                   ++pp;
	
2.

./iLBC/iCBSearch.c:306: warning: operation on `pp' may be undefined

Duplicate.
Comment 1 Klaus Kämpf 2005-12-06 11:32:23 UTC
Thanks for the report.
Fixed.