Skip to content

Commit 1410573

Browse files
committed
main/locale: remove FamilyName NULL reference on Page 13 of 16
Page 13 of 16 (page index 12) has a reference to FamilyName[31], which is a char* pointer initialized with `NULL`. When this `nullptr` is passed to `Str::Set(const char *)` this results in a Segmentation fault. Fixes: #117
1 parent 4404676 commit 1410573

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1414

1515
### Fixed
1616
- fix double line after header in some report tables #115
17+
- fix Segfault in Page 13 of 16 in "Customize Job Title, Families, Phrases" #117
1718

1819

1920
## [v21.01.1] - 2021-01-06

main/locale.cc

-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ PhraseEntry PhraseData[] = {
240240
{12, FamilyName[28]},
241241
{12, FamilyName[29]},
242242
{12, FamilyName[30]},
243-
{12, FamilyName[31]},
244243

245244
{13, "Pre-Authorize"},
246245
{13, "Authorize"},

0 commit comments

Comments
 (0)