| Anonymous | Login | Signup for a new account | 11-10-2008 12:31 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 | ||||
| 0004214 | [BusyBox] Other | minor | always | 07-17-08 16:37 | 08-19-08 17:56 | ||||
| Reporter | cristic | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | svn | ||||||
| Summary | 0004214: printf reads uninitialized memory | ||||||||
| Description |
Hello, here is a test case that leads printf to read uninitialized memory: ./printf "%Ld\n" 10 39860182724902922 (output varies, since it reads garbage) The problem is that this execution eventually invokes libc's printf with the same format specifier, and with the second argument my_xstrtol("10"). This returns a long (4 bytes on my machine), which is printed as a long long (8 bytes on my machine). Unfortunately, I don't see an easy fix here, because most conversion routines in Busybox seem to return longs. --Cristian |
||||||||
| Additional Information | |||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |