Skip to content

correct the direction of the copyright-string null test in bitmap save - #1143

Merged
1 commit merged into
masterfrom
unknown repository
Jan 26, 2014
Merged

1 commit merged into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jan 26, 2014

Copy link
Copy Markdown

When saving a BDF file, we thoughtfully test whether the copyright string is null, and if it is null, we pass it into strchr, causing a segmentation fault. This is, of course, backwards. It should only be dereferenced when not null.

ghost pushed a commit that referenced this pull request Jan 26, 2014
correct the direction of the copyright-string null test in bitmap save
@ghost
ghost merged commit 83f4bf9 into fontforge:master Jan 26, 2014
@ghost
ghost deleted the inverted_copyright_test branch January 26, 2014 15:55
This pull request was closed.
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.

0 participants