Skip to content

Add initialization (NULL) of CLASS.next#165

Open
sugi-a wants to merge 1 commit into
julius-speech:masterfrom
sugi-a:fix-bug-mkfa
Open

Add initialization (NULL) of CLASS.next#165
sugi-a wants to merge 1 commit into
julius-speech:masterfrom
sugi-a:fix-bug-mkfa

Conversation

@sugi-a

@sugi-a sugi-a commented Jun 6, 2021

Copy link
Copy Markdown

The original code lacks initialization of CLASS.next in voca.c (after malloc in line 120).
It causes segmentation fault in nfa.c (if( strcmp( class->name, name ) == 0 ) around line 431) if you build and run mkfa.exe in the MSYS2&MinGW64 environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant