hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/fs/udf/unicode.c
....@@ -247,7 +247,7 @@
247247 }
248248
249249 if (translate) {
250
- if (str_o_len <= 2 && str_o[0] == '.' &&
250
+ if (str_o_len > 0 && str_o_len <= 2 && str_o[0] == '.' &&
251251 (str_o_len == 1 || str_o[1] == '.'))
252252 needsCRC = 1;
253253 if (needsCRC) {