Bug 17349 - Possibility for formatchar errors in syslog call
Summary: Possibility for formatchar errors in syslog call
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mingetty
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Florian La Roche
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-08 09:31 UTC by Jarno Huuskonen
Modified: 2008-05-01 15:37 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2000-09-08 09:31:53 UTC


Attachments (Terms of Use)

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



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