| Anonymous | Login | Signup for a new account | 11-10-2008 12:42 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 | ||||
| 0004644 | [BusyBox] Other | minor | always | 08-18-08 18:51 | 08-21-08 00:18 | ||||
| Reporter | cristic | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | svn | ||||||
| Summary | 0004644: tar memory errors when called w/ incorrect arguments | ||||||||
| Description |
Test cases: $./tar tf_ / tar: can't open �N�NOOO/O5OFOMO^OgOxO�O�O�O': No such file or directory $ ./tar tfx / tar: can't open ' ��x ��x �x �x �x /�x 5�x F�x M�x ^�x g�x x�x ��x ��x ��x ': No such file or directory This should be rejected by tar, as in GNU tar: $ tar tf_ / tar: invalid option -- _ Try `tar --help' or `tar --usage' for more information. tar tfx / tar: You may not specify more than one `-Acdtrux' option Try `tar --help' or `tar --usage' for more information. The problem is that when getopt32 is called at tar.c:835, tar_filename is set incorrectly, and later invalid memory is read from tar_filename, as on line tar.c:931 (if (LONE_DASH(tar_filename)) ...) Thanks, Cristian |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |