Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix buffer overflow in mc_net_info_new
Long device name specified as a command line triggers buffer overflow. Replace strcpy by strncpy to fix this issue. Reproducer: $ macchanger -s `perl -e 'print "A"x100'` Reported in: https://bugzilla.redhat.com/show_bug.cgi?id=641704
- Loading branch information