Skip to content
Snippets Groups Projects
  1. Aug 27, 2014
  2. Aug 26, 2014
  3. Aug 25, 2014
  4. Aug 24, 2014
  5. Aug 22, 2014
  6. Aug 21, 2014
  7. Aug 20, 2014
  8. Aug 19, 2014
  9. Aug 18, 2014
  10. Aug 13, 2014
  11. Aug 12, 2014
    • Steven Barth's avatar
      odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis) · eba984b9
      Steven Barth authored
      
      Signed-off-by: default avatarSteven Barth <steven@midlink.org>
      
      SVN-Revision: 42153
      eba984b9
    • Jo-Philipp Wich's avatar
      package: fix segfault of iwinfo.scanlist("radio0"). · eb02b887
      Jo-Philipp Wich authored
      
      This is a bug revealed in r41830.
      
      First, the static variable `char nif[IFNAMSIZ]` of nl80211_phy2ifname()
      would be zeroed out if the argument is "wlan0" or the like.  This will
      happen in the following call stack.
      
       nl80211_get_scanlist("radio0", buf, len);
         nl80211_phy2ifname("radio0")			// return static var nif with content "wlan0"
         nl80211_get_scanlist(nif, buf, len);		// tail call
           nl80211_get_mode(nif);
              nl80211_phy2ifname(nif);		// zero out nif
      
      Later we try nl80211_ifadd("") which was supposed to create interface
      "tmp.", but that won't happen because nl80211_msg() will put an invalid
      ifidx 0 to the nlmsg.
      
      Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily
      nl80211_get_scanlist() returned 0 and left *len undefined.
      
      Signed-off-by: default avatarYousong Zhou <yszhou4tech@gmail.com>
      
      SVN-Revision: 42151
      eb02b887
  12. Aug 11, 2014
Loading