Re: [Openvpn-devel] Problem with alloc_buf_gc function

2011-12-11 Thread Fabian Knittel
Hi Tiran, Am 11.12.2011 21:57, schrieb Tiran Kaskas: > Looking into the function alloc_buf_gc() in file buffer.c, it returns a > struct buffer, which seems to me is allocated on the stack, which is > causing an issue, I believe, since the function calling alloc_buf_gc() > will work on a buffer

Re: [Openvpn-devel] [PATCH v3] Move away from openvpn_basename() over to platform provided basename()

2011-12-11 Thread Gert Doering
Hi, On Fri, Dec 09, 2011 at 08:19:31PM +0200, Alon Bar-Lev wrote: > In my opinion, in order to avoid confusion there can be two options: > > 1. Use library functions as much as possible, providing the minimum > common ground > in compatibility layer if missing. This ensure applying fixes and >

Re: [Openvpn-devel] [PATCH v3] Move away from openvpn_basename() over to platform provided basename()

2011-12-11 Thread Gert Doering
Hi, cutting off most of this long mail, and pointing to a few - IMHO - important aspects. On Fri, Dec 09, 2011 at 09:50:02PM +0100, David Sommerseth wrote: [..] > >>> So I'd propose to keep openvpn_basename() - it's simple and short > >>> enough, and has well-defined semantics that can be