BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000644 [BusyBox] Other major always 01-16-06 03:07 01-22-06 15:17
Reporter giuseppe View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version svn
Summary 0000644: function set_loop() in libbb/loop.c only loops on even devices.
Description in libbb/loop.c

int set_loop(char **device, const char *file, int offset)
[...]
    /* Find a loop device. */
    try=*device ? : dev;
    for(i=0;rc;i++) {
        sprintf(dev, LOOP_FORMAT, i++);

variable ``i'' gets increased two times each loop iteration, so only /dev/loop0, /dev/loop2.. are accessed.
Additional Information
Attached Files

- Relationships

- Notes
(0000976)
landley
01-22-06 15:17

Um, yeah.

svn 13496
 

- Issue History
Date Modified Username Field Change
01-16-06 03:07 giuseppe New Issue
01-16-06 03:07 giuseppe Status new => assigned
01-16-06 03:07 giuseppe Assigned To  => BusyBox
01-22-06 15:17 landley Status assigned => closed
01-22-06 15:17 landley Note Added: 0000976
01-22-06 15:17 landley Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker