We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this could result in a potential uninitalized memory access down the line.
joy/src/joy.c
Line 289 in 47afb19
The code below ioctl is :
ioctl
sprintf((char*)mac_addr, "%02x%02x%02x%02x%02x%02x", (int)(unsigned char)ifr.ifr_hwaddr.sa_data[0], (int)(unsigned char)ifr.ifr_hwaddr.sa_data[1], (int)(unsigned char)ifr.ifr_hwaddr.sa_data[2], (int)(unsigned char)ifr.ifr_hwaddr.sa_data[3], (int)(unsigned char)ifr.ifr_hwaddr.sa_data[4], (int)(unsigned char)ifr.ifr_hwaddr.sa_data[5]);
And the get_mac_address OS specific code could be refactored into small functions as well.
get_mac_address
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this could result in a potential uninitalized memory access down the line.
joy/src/joy.c
Line 289 in 47afb19
The code below
ioctl
is :And the
get_mac_address
OS specific code could be refactored into small functions as well.The text was updated successfully, but these errors were encountered: