git: libaura: Return NULL in some cases.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Mon Nov 30 07:04:13 PST 2020


commit bfff7331105f8611dc4504a7760f2ec9ce66f908
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Mon Nov 30 10:01:28 2020 +0100

    libaura: Return NULL in some cases.
    
      - Fail if there's not enough memory for allocating
        num_buckets or if the method is unknown.
      - Add test.

Summary of changes:
 .../usr.sbin/installer/libaura/dict1/Makefile      | 11 +++++++++++
 .../usr.sbin/installer/libaura/dict1/dict1.c       | 19 ++++++++++++++++++
 usr.sbin/installer/libaura/dict.c                  | 23 ++++++++++++++--------
 3 files changed, 45 insertions(+), 8 deletions(-)
 create mode 100644 tools/regression/usr.sbin/installer/libaura/dict1/Makefile
 create mode 100644 tools/regression/usr.sbin/installer/libaura/dict1/dict1.c

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list