Debdiff in #7 looks good, uploaded for processing by the SRU team.

Thanks!

** Description changed:

+ [Impact]
+ A bad patch prevents the --random option from working at all.
+ 
+ This was corrected in Debian, and in newer Ubuntu releases, but has not
+ been corrected in Trusty. This SRU contains the corrected patch.
+ 
+ [Test Case]
+ - Use --random option
+ - See if MAC changed or if resulted in error message
+ 
+ [Regression Potential]
+ Since this code simply doesn't work at all at the moment, the only regression 
would be for it to crash instead of not printing the error message.
+ 
+ 
+ Original description:
+ 
  Hello,
  
  macchanger works only when I'm specifying which MAC to use. Using
  macchanger with --random always return 'It's the same MAC!!'.
  
  I think I find out why, there's something in this patch made to improve
  random MAC generation :
  
  http://bazaar.launchpad.net/~ubuntu-
  
branches/ubuntu/trusty/macchanger/trusty/view/head:/debian/patches/08-fix_random_MAC_choice.patch
  
  In mc_mac_random()
  - 'mac' argument is saved into 'newmac', on the stack (line 40)
  - the MAC is randomized and every byte of 'mac' is changed (line 48...)
  - 'mac' is overwritten by 'newmac' value (line 82)
  
  Thank you

** Changed in: macchanger (Ubuntu Trusty)
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1316278

Title:
  Cannot change mac with --random

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/macchanger/+bug/1316278/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to