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

Xcode sanitizer: Misaligned Pointer Use #149

Open
orchetect opened this issue Jul 31, 2018 · 0 comments
Open

Xcode sanitizer: Misaligned Pointer Use #149

orchetect opened this issue Jul 31, 2018 · 0 comments

Comments

@orchetect
Copy link

When enabling the Xcode sanitizers, it throws the pre-compile assertion Misaligned Pointer Use for this line in yudpsocket.c:

int yudpsocket_get_server_ip(char *host, char *ip) {
    ...
    
    bcopy((char *)hp->h_addr, (char *)&address.sin_addr, hp->h_length);
    
    ...
}
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

No branches or pull requests

1 participant