From bedbef8ad3e75a304af6361af235302bcc61d06b Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 14 May 2024 06:39:01 +0000 Subject: [PATCH] 修改内核路径 --- kernel/fs/udf/unicode.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/fs/udf/unicode.c b/kernel/fs/udf/unicode.c index 6225690..2142cbd 100644 --- a/kernel/fs/udf/unicode.c +++ b/kernel/fs/udf/unicode.c @@ -247,7 +247,7 @@ } if (translate) { - if (str_o_len <= 2 && str_o[0] == '.' && + if (str_o_len > 0 && str_o_len <= 2 && str_o[0] == '.' && (str_o_len == 1 || str_o[1] == '.')) needsCRC = 1; if (needsCRC) { -- Gitblit v1.6.2