Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672782 - net-misc/lldpd-1.0.2 - lldpd creates weird directory under / at run time
Summary: net-misc/lldpd-1.0.2 - lldpd creates weird directory under / at run time
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-09 02:32 UTC by Sven E.
Modified: 2018-12-10 22:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven E. 2018-12-09 02:32:06 UTC
When starting lldpd, it will create a directory with weird chars under / including a subdir lldpd, i.e.:

'DR'$'\246''K'$'\177''run'

Obviously this part of startup checking for /run/lldpd, since the arbitary characters change with every start, this looks alot like a buffer underrun/overflow whilst handling a C string.

Reproducible: Always

Steps to Reproduce:
1. emerge lldpd
2. start it up
3. watch it go havoc on the /-dir.
Actual Results:  
Faulty behavior.

Expected Results:  
Clean startup.

N/A right now.
Comment 1 Larry the Git Cow gentoo-dev 2018-12-10 22:56:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5765102845894fd50cb0ec8f2f5fbc641eb8bd4a

commit 5765102845894fd50cb0ec8f2f5fbc641eb8bd4a
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2018-12-10 22:56:12 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2018-12-10 22:56:32 +0000

    net-misc/lldpd: Version bump to 1.0.3
    
    Closes: https://bugs.gentoo.org/672782
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 net-misc/lldpd/Manifest                                   | 2 +-
 net-misc/lldpd/{lldpd-1.0.2.ebuild => lldpd-1.0.3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)