git: contrib/opie: Sync with FreeBSD, but not much to see here.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Feb 18 02:40:39 PST 2015


commit f5bc2dc25a4e2508a618012e10758d6a47091a40
Author: Sascha Wildner <saw at online.de>
Date:   Wed Feb 18 11:29:13 2015 +0100

    contrib/opie: Sync with FreeBSD, but not much to see here.
    
    A couple of bugfixes:
    
    * Fix the overflow check in challenge handling (off by 1).
    
    * Store all hashes in little endian format before folding to 64 bits, per
      RFC 2289. SHA1 code is big endian, so a bswap32() is needed.
    
    * Create /etc/opiekeys with 0600, not 0644.
    
    * Increase OPIE_HASHNAME_MAX for SHA1.
    
    * Fix a buffer overflow in an unused file.
    
    * Remove two unused (and empty) files.
    
    The rest is just cosmetics.

Summary of changes:
 contrib/opie/ftpcmd.y               |  3 +--
 contrib/opie/libmissing/Makefile.in |  2 +-
 contrib/opie/libopie/Makefile.in    |  2 +-
 contrib/opie/libopie/challenge.c    |  7 ++++---
 contrib/opie/libopie/generator.c    |  4 ++--
 contrib/opie/libopie/getutmpentry.c |  3 ++-
 contrib/opie/libopie/hash.c         | 12 ++++++++++--
 contrib/opie/libopie/hashlen.c      | 12 ++++++++++--
 contrib/opie/libopie/insecure.c     |  5 +++--
 contrib/opie/libopie/lock.c         |  3 +--
 contrib/opie/libopie/login.c        |  3 ++-
 contrib/opie/libopie/newseed.c      |  2 +-
 contrib/opie/libopie/readrec.c      |  4 +++-
 contrib/opie/libopie/writerec.c     |  6 ++++--
 contrib/opie/logwtmp.c              |  0
 contrib/opie/opie.4                 |  3 +--
 contrib/opie/opie.h                 | 10 +++++-----
 contrib/opie/opie_cfg.h             |  3 +--
 contrib/opie/opieaccess.5           |  3 +--
 contrib/opie/opieftpd.c             |  3 +--
 contrib/opie/opieinfo.1             |  3 +--
 contrib/opie/opieinfo.c             |  3 +--
 contrib/opie/opiekey.1              |  6 ++----
 contrib/opie/opiekey.c              |  6 +++---
 contrib/opie/opiekeys.5             |  3 +--
 contrib/opie/opiepasswd.1           |  3 +--
 contrib/opie/opiepasswd.c           |  2 +-
 contrib/opie/options.h              |  0
 contrib/opie/popen.c                | 14 ++++++++++----
 29 files changed, 74 insertions(+), 56 deletions(-)
 delete mode 100644 contrib/opie/logwtmp.c
 delete mode 100644 contrib/opie/options.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f5bc2dc25a4e2508a618012e10758d6a47091a40


-- 
DragonFly BSD source repository



More information about the Commits mailing list