Details
- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
Major
 - 
    None
 
Description
ListView_GetItemText is defined as:
void ListView_GetItemText(
  HWND hwnd,
  int iItem,
  int iSubItem,
  LPTSTR pszText,
  int cchTextMax
);
cchTextMax: Stores the number of characters in the pszText buffer.
But in DisplayEvent() ListView_GetItemText is called as follows:
01117         ListView_GetItemText(hwndListView, iIndex, 0, szEventType, sizeof(szEventType) * sizeof(WCHAR));
01118         ListView_GetItemText(hwndListView, iIndex, 1, szDate, sizeof(szDate) * sizeof(WCHAR));
01119         ListView_GetItemText(hwndListView, iIndex, 2, szTime, sizeof(szTime) * sizeof(WCHAR));
Instead "*" we should be using "/" to fix this issue.
Detected thanks to PVS