Bug 17349

Summary: Possibility for formatchar errors in syslog call
Product: [Retired] Red Hat Linux Reporter: Jarno Huuskonen <jarno.huuskonen>
Component: mingettyAssignee: Florian La Roche <laroche>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-09-08 09:31:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jarno Huuskonen 2000-09-08 09:31:51 UTC
mingetty.c:111 calls syslog (LOG_ERR, buf);

This should be syslog(LOG_ERR, "%s", buf);

To the best of my knowledge this can't be abused, but why not change it
anyway.

-Jarno

PS. Also a few lines earlier there's a call to vsprintf instead of 
    vsnprintf

Comment 1 Florian La Roche 2001-04-06 20:36:20 UTC
fixed in mingetty-0.9.4-16