Subject: CVS commit: pkgsrc/pkgtools/pkg_select
From: Maya Rashish
Date: 2017-12-29 18:55:13
Message id: 20171229175513.C1CCFFB40@cvs.NetBSD.org

Log Message:
pkg_select: fix buffer overflow

expanding the macro with ++len for size meant our memset to zero was
one bigger than the above allocated size.

while here simplify the problematic macro - malloc+memset zero is calloc.

bump pkgrevision

Files:
RevisionActionfile
1.26modifypkgsrc/pkgtools/pkg_select/Makefile
1.12modifypkgsrc/pkgtools/pkg_select/distinfo
1.1addpkgsrc/pkgtools/pkg_select/patches/patch-file.c
1.1addpkgsrc/pkgtools/pkg_select/patches/patch-tools.h