Bug 147970

Summary: undefined code
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: crashAssignee: Dave Anderson <anderson>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-18 17:42:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Binderman 2005-02-14 10:01:53 UTC
Description of problem:

I just tried to compile package crash-3.10-9 from 
Redhat Fedora development tree.

The compiler said

dwarf2-frame.c:1307: warning: operation on `buf' may be undefined

The source code is

              buf += size_of_encoded_value (*buf++);

I agree with the compiler. Suggest

              buf += size_of_encoded_value (*buf) + 1;


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


How reproducible:


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


Expected results:


Additional info: