Bug 2021339 - pwck segfaults when ran as a non-root user
Summary: pwck segfaults when ran as a non-root user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: shadow-utils
Version: 35
Hardware: x86_64
OS: Linux
medium
unspecified
Target Milestone: ---
Assignee: Iker Pedrosa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: sync-to-jira review
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-08 22:08 UTC by Matthew Burket
Modified: 2021-11-26 01:22 UTC (History)
4 users (show)

Fixed In Version: shadow-utils-4.9-8.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-26 01:22:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matthew Burket 2021-11-08 22:08:18 UTC
Description of problem:
Running pwck as a non-root user segfaults.

Version-Release number of selected component (if applicable):
rpm -q shadow-utils
shadow-utils-4.9-3.fc35.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Install the package shadow-utils
2. Run pwck (no flags) as a non-root user
3. Segfault

Actual results:
Segfault

Expected results:
Error message, output, no Segfault.


Additional info:

Comment 1 Iker Pedrosa 2021-11-15 11:47:56 UTC
Upstream PR:
    https://github.com/shadow-maint/shadow/pull/445

Comment 2 Iker Pedrosa 2021-11-18 09:53:24 UTC
master
    pwck: fix segfault when calling fprintf() - d8e54618feea201987c1f3cb402ed50d1d8b604f

Comment 3 Fedora Update System 2021-11-23 08:48:20 UTC
FEDORA-2021-380251ce99 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-380251ce99

Comment 4 Fedora Update System 2021-11-24 01:57:10 UTC
FEDORA-2021-380251ce99 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-380251ce99`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-380251ce99

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-11-26 01:22:26 UTC
FEDORA-2021-380251ce99 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.