Bug 1679799 - suck crashes on stale lock file due to type clash
Summary: suck crashes on stale lock file due to type clash
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: suck
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-21 21:41 UTC by Jonathan Kamens
Modified: 2019-02-21 21:41 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to fix crash on stale lock file (677 bytes, patch)
2019-02-21 21:41 UTC, Jonathan Kamens
no flags Details | Diff

Description Jonathan Kamens 2019-02-21 21:41:14 UTC
Created attachment 1537235 [details]
patch to fix crash on stale lock file

I don't know if anybody besides me is using suck anymore ;-), but I just fixed a stack crash because of the code assuming that `long` and `pid_t` are the same, when in fact `long` is 8 bytes and `pid_t` is 4 bytes. See attached patch.


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