| Anonymous | Login | Signup for a new account | 11-10-2008 10:49 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000428 | [BusyBox] Kernel Module Support | major | always | 09-13-05 10:55 | 12-18-05 11:56 | ||||
| Reporter | mareksk | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 1.00 | ||||||
| Summary | 0000428: Extra space character (0x20) is added to last string option | ||||||||
| Description |
Extra space character (0x20) is always being added to the last option passed to insmod. In case of the last option is a string value, this value is expanded by one character. For instance, if the last option is arg=1234, the string passed to a module is "1234 ". The code below points a part of 'mod_insert' function, where a simple fix could be added for ( i = 0; i < argc; i++ ) { strcat ( head-> m_options, argv [i] ); /* this prevents from adding an extra 0x20 after the last option */ if( (i+1) < argc ) { strcat ( head-> m_options, " " ); } } |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |