Menu

#60 v1.4.4 breaks Windows 2000/XP support

None
closed-fixed
nobody
None
3
2024-02-28
2023-08-09
Fishbulb
No

The readme file for RHash version 1.4.4 states the Win32 version requires Win XP/2K/Vista/7/8/10. However, in the file win_utils.c, the function get_long_path_if_needed() calls wcscpy_s() with the following line:

wcscpy_s(result + UNC_PREFIX_SIZE + size, spaces_count + 1, wpath + index);

wcscpy_s() is not present in the MSVCRT library shipped with the earlier operating systems (2000/XP) that the executable gets linked to. This causes a runtime error when attempting to run RHash on those systems.

Discussion

  • Aleksey

    Aleksey - 2024-02-28
     
  • Aleksey

    Aleksey - 2024-02-28
    • status: open --> closed-fixed
    • Priority: 5 --> 3
     

Log in to post a comment.

MongoDB Logo MongoDB