Skip to content

Conversation

@hcho3
Copy link
Contributor

@hcho3 hcho3 commented Dec 7, 2018

Currently, the GetChar() function in base64.h has int type, which silently truncates EOF. This will cause undefined behavior on ARM targets, where char type is unsigned.

Fixes #2254

@tqchen tqchen merged commit 50cfd3c into apache:master Dec 7, 2018
@tqchen
Copy link
Member

tqchen commented Dec 7, 2018

Thanks, @hcho3 !

@hcho3 hcho3 deleted the use_int_for_eof branch December 7, 2018 15:47
FrozenGene pushed a commit to FrozenGene/tvm that referenced this pull request Dec 27, 2018
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Feb 20, 2019
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.

2 participants