Bug 1146227

Summary: valgrind hit in kinit
Product: [Fedora] Fedora Reporter: Roland Mainz <rmainz>
Component: libselinuxAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dpal, dwalsh, mgrepl, nalin, nathaniel, rharwood, rmainz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 22:40:17 UTC Type: Bug
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
test script which runs kinit under valgrind control against an independent KDC none

Description Roland Mainz 2014-09-24 20:00:46 UTC
Created attachment 940888 [details]
test script which runs kinit under valgrind control against an independent KDC

Description of problem:
While experimenting with my new test infrastructure I came across the following valgrind hit:
-- snip --
+ valgrind '--read-var-info=yes' '--track-origins=yes' kinit admin/admin
+ 0<<< tiger12maus

==3335== Memcheck, a memory error detector
==3335== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==3335== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==3335== Command: kinit admin/admin
==3335== 
Password for admin/admin: 
==3335== Conditional jump or move depends on uninitialised value(s)
==3335==    at 0x622FDB6: closef (label_file.c:570)
==3335==    by 0x622878B: selabel_close (label.c:263)
==3335==    by 0x5BF46D4: cleanup_fscreatecon (selinux.c:80)
==3335==    by 0x3D4700F8D9: _dl_fini (dl-fini.c:252)
==3335==    by 0x667F0F8: __run_exit_handlers (exit.c:82)
==3335==    by 0x667F144: exit (exit.c:104)
==3335==    by 0x6667D6B: (below main) (libc-start.c:319)
-- snip --

Comment 1 Roland Mainz 2014-09-24 20:59:30 UTC
The issue is in libselinux land... switching bugzilla component...

Comment 2 Miroslav Grepl 2014-09-29 14:02:37 UTC
Roland,
any chance to run it on F21?

Comment 3 Fedora End Of Life 2015-05-29 12:57:28 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2015-06-29 22:40:17 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Red Hat Bugzilla 2023-09-14 02:48:08 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days