diff options
| -rw-r--r-- | fs/unicode/utf8-norm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/unicode/utf8-norm.c b/fs/unicode/utf8-norm.c index 20d440c3f2db..801ed6d2ea37 100644 --- a/fs/unicode/utf8-norm.c +++ b/fs/unicode/utf8-norm.c | |||
| @@ -714,6 +714,8 @@ int utf8byte(struct utf8cursor *u8c) | |||
| 714 | } | 714 | } |
| 715 | 715 | ||
| 716 | leaf = utf8lookup(u8c->data, u8c->hangul, u8c->s); | 716 | leaf = utf8lookup(u8c->data, u8c->hangul, u8c->s); |
| 717 | if (!leaf) | ||
| 718 | return -1; | ||
| 717 | ccc = LEAF_CCC(leaf); | 719 | ccc = LEAF_CCC(leaf); |
| 718 | } | 720 | } |
| 719 | 721 | ||
