Bug 117464 - FIxes for overflows (potentially security issues)
FIxes for overflows (potentially security issues)
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: newt (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Eido Inoue
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-04 06:26 EST by Alastair McKinstry
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-04-07 15:37:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to fix overflows (15.01 KB, patch)
2004-03-04 06:30 EST, Alastair McKinstry
no flags Details | Diff

  None (edit)
Description Alastair McKinstry 2004-03-04 06:26:54 EST
Description of problem:

Fixes overflows. 

Version-Release number of selected component (if applicable):

RH9, Fedora

How reproducible:


Steps to Reproduce:
1.
2.
3.
  

Actual results:


Expected results:


Additional info:
Comment 1 Alastair McKinstry 2004-03-04 06:30:04 EST
Created attachment 98277 [details]
Patch to fix overflows

- Cope with malloc failure in some places; use snprint
to avoid a segfault on malicious input (may be a security
weakness depending on where whiptail is used).
Comment 2 Eido Inoue 2004-04-07 15:37:37 EDT
The attached patch had several bugs (a patch to a .rej file, as well
as a typo were MAXFORMAT was indicated as MAXFOTMAT which prevented
compiling). Also, the patch included changed some of the interfaces
(void returns to int returns, changing of some int params to unsigned
params)

I've taken most of the patch in spirit, but I've made some alterations
based on the comments above

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