| ... | @@ -489,7 +489,7 @@ static Buf os_path_resolve_windows(Buf **paths_ptr, size_t paths_len) { | ... | @@ -489,7 +489,7 @@ static Buf os_path_resolve_windows(Buf **paths_ptr, size_t paths_len) { |
| 489 | } | 489 | } |
| 490 | | 490 | |
| 491 | // determine which disk designator we will result with, if any | 491 | // determine which disk designator we will result with, if any |
| 492 | char result_drive_buf[2] = {'_', ':'}; | 492 | char result_drive_buf[3] = {'_', ':', '\0'}; // 0 needed for strlen later |
| 493 | Slice<uint8_t> result_disk_designator = str(""); | 493 | Slice<uint8_t> result_disk_designator = str(""); |
| 494 | WindowsPathKind have_drive_kind = WindowsPathKindNone; | 494 | WindowsPathKind have_drive_kind = WindowsPathKindNone; |
| 495 | bool have_abs_path = false; | 495 | bool have_abs_path = false; |