Details
Description
In ls.c, the LsPrintLine function uses the wMonth field of a SYSTEMTIME struct to index into MONTHS, an array of 12 elements containing string representations of the months. The wMonth field is 1-based (1=January), but indexing into an array is zero-based. This gives the wrong month, and since we just crossed into month 12, it also has started causing an access violation.
Attachments
Attachments
Issue Links
- is part of
-
HADOOP-8562 Enhancements to support Hadoop on Windows Server and Windows Azure environments
- Closed