Skip to content

Conversation

@kenji21
Copy link
Contributor

@kenji21 kenji21 commented Mar 27, 2019

No description provided.

@kenji21 kenji21 requested a review from Drusy March 27, 2019 08:25
@kenji21 kenji21 force-pushed the master branch 3 times, most recently from 659ab9e to fa744f1 Compare March 27, 2019 08:39
bzero(keyPtr, keySize+1); // fill with zeroes (for padding)

memcpy(keyPtr, key, keySize+1);
memcpy(keyPtr, key, MAX(keyLength, keySize));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some size refer to keySize+1 and some to MAX(keyLength, keySize), which one is the good one ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed up by rewriting history to remove this change

@Drusy Drusy merged commit a5c8748 into openium:master Mar 27, 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