Received: by mail.netbsd.org (Postfix, from userid 605) id 7143814A5C3; Fri, 9 Mar 2012 06:37:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 69E5B14A5B9 for ; Fri, 9 Mar 2012 06:37:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id d6_qZifPkWPl for ; Fri, 9 Mar 2012 06:37:23 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 9CD0B14A5AB for ; Fri, 9 Mar 2012 06:37:23 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id B6464175DD; Fri, 9 Mar 2012 06:37:23 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Fri, 9 Mar 2012 06:37:23 +0000 From: "Alistair G. Crooks" Subject: CVS commit: othersrc/crypto/external/bsd/ssss/dist/src/libssss To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120309063723.B6464175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Alistair G. Crooks" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: othersrc Committed By: agc Date: Fri Mar 9 06:37:23 UTC 2012 Modified Files: othersrc/crypto/external/bsd/ssss/dist/src/libssss: secsplit.c Log Message: + don't allocate space if we're passed an in-memory array as either a source or a destination of split/combine + fix up the split_vec/combine_vec combinatino so that they both work a bit better now - still some work needed here, though + free the internal s4 structure as part of the combine/combine_vec operation, rather than doing it in ssss_end(). We know at that stage that we have allocated it, and the principle of freeing memory in the same place in the calling stack as it was allocated still applies + rip out parts of the initial comment which aren't really accurate any more - i'm not sure there's that much of the original code left To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 \ othersrc/crypto/external/bsd/ssss/dist/src/libssss/secsplit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.