Bug 647020

Summary: lldptool - invalid pointer
Product: Red Hat Enterprise Linux 6 Reporter: Karel Volný <kvolny>
Component: lldpadAssignee: Petr Šabata <psabata>
Status: CLOSED ERRATA QA Contact: Martin Cermak <mcermak>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: azelinka, fnadge, mcermak, rvokal
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lldpad-0.9.38-6.el6 Doc Type: Bug Fix
Doc Text:
This field is the basis of the errata or release note for this bug. It can also be used for change logs. The Technical Note template, known as CCFR, is as follows: Cause What actions or circumstances cause this bug to present. Consequence What happens when the bug presents. Fix What was done to fix the bug.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 11:52:30 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:
Attachments:
Description Flags
lldptool invalid pointer patch none

Description Karel Volný 2010-10-26 20:32:58 UTC
Description of problem:
Running lldtool results in "invalid pointer" message.

Version-Release number of selected component (if applicable):
lldpad-0.9.38-3.el6

How reproducible:
always

Steps to Reproduce:
1. service lldpad start
2. lldptool
  
Actual results:
# lldptool
lldptool v0.9.38
Copyright (c) 2007-2010, Intel Corporation

Substantially modified from:  hostapd_cli v 0.5.7
Copyright (c) 2004-2007, Jouni Malinen <j> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.



*** glibc detected *** lldptool: free(): invalid pointer: 0x000000008000e010 ***

Interactive mode

> 

Expected results:
the same without the invalid pointer error

Additional info:
this happens on all architectures (though the number is a bit shorter on 32bit ones :-)

Comment 3 Petr Šabata 2010-11-22 16:30:44 UTC
Fixed in CVS, lldpad-0.9.38-6.el6.

Comment 5 Petr Šabata 2010-11-22 16:34:45 UTC
Created attachment 462071 [details]
lldptool invalid pointer patch

Comment 8 Martin Cermak 2011-01-07 12:05:06 UTC
Comment #6, Comment #7 => VERIFIED

Comment 10 Florian Nadge 2011-05-06 12:31:50 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
This field is the basis of the errata or release note for this bug. It can also be used for change logs.

The Technical Note template, known as CCFR, is as follows:

Cause
    What actions or circumstances cause this bug to present.
Consequence
    What happens when the bug presents.
Fix
    What was done to fix the bug.

Comment 12 errata-xmlrpc 2011-05-19 11:52:30 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0520.html