[BusyBox 0000805]: Unterminated buffer in mdev.c
bugs at busybox.net
bugs at busybox.net
Tue Apr 11 18:03:47 UTC 2006
The following issue has been set as DUPLICATE OF issue 0000651.
======================================================================
http://busybox.net/bugs/view.php?id=805
======================================================================
Reported By: Ken Milmore
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 805
Category: Other
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 03-28-2006 16:04 PST
Last Modified: 04-11-2006 11:03 PDT
======================================================================
Summary: Unterminated buffer in mdev.c
Description:
The buffer used to read the major:minor numbers from sysfs is not correctly
terminated.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
duplicate of 0000651 mdev -s fails to work.
======================================================================
----------------------------------------------------------------------
bernhardf - 04-11-06 11:00
----------------------------------------------------------------------
Not sure if i understand you correct, but do you mean something like the
attached, completely untested patchlet (busybox.mdev_devt_parse-fix.diff)
?
Could you please check if putting the '\n' into the sscanf is smaller than
the
temp[--len]=0 which was there before?
TIA.
Issue History
Date Modified Username Field Change
======================================================================
03-28-06 16:04 Ken Milmore New Issue
03-28-06 16:04 Ken Milmore Status new => assigned
03-28-06 16:04 Ken Milmore Assigned To => BusyBox
04-11-06 11:00 bernhardf Note Added: 0001260
04-11-06 11:00 bernhardf File Added: busybox.mdev_devt_parse-fix.diff
04-11-06 11:03 bernhardf Relationship added duplicate of 0000651
======================================================================
More information about the busybox-cvs
mailing list