Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#45] Fix addr of first arg and not use memcpy #46

Merged
merged 1 commit into from
Apr 9, 2017
Merged

Conversation

hangpark
Copy link
Owner

@hangpark hangpark commented Apr 9, 2017

See #45.

Fix push_args_on_stack() to put address of the first argument (argv[0]) correctly.

Change usages of memcpy() to simple pointer assignments.

@hangpark hangpark added the bug label Apr 9, 2017
@hangpark hangpark added this to the Project #2 milestone Apr 9, 2017
@hangpark hangpark self-assigned this Apr 9, 2017
@hangpark hangpark requested a review from Lment April 9, 2017 17:07
Fix `push_args_on_stack()` to put address of the first argument (`argv[0]`) correctly.

Change usages of `memcpy()` to simple pointer assignments.
Copy link
Contributor

@Lment Lment left a comment

Choose a reason for hiding this comment

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

I wonder why previous code fails, but this seems to be correct too.

@hangpark hangpark merged commit fd9af41 into develop Apr 9, 2017
@hangpark hangpark deleted the iss/45 branch April 9, 2017 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants