Re: [Chicken-users] A question about keywords and symbol->string

2017-03-16 Thread Evan Hanson
Hi there, On 2017-03-16 17:22, megane wrote: > Currently symbol->string strips any keyword prefixes when applied to > keywords (e.g. (symbol->string 'foo:) returns "foo"). Is this correct > behavior? That's the correct behaviour, yes. symbol->string basically ignores keywords and treats them

Re: [Chicken-users] [Chicken-announce] [SECURITY] Unchecked malloc size in "external" SRFI-4 vector constructors

2017-03-16 Thread Peter Bex
On Wed, Mar 15, 2017 at 08:44:59PM +0100, Peter Bex wrote: > Hi all, > > Our user "Lemonboy" has found a vulnerability in CHICKEN's SRFI-4 > constructors, when using a nonstandard extension; the "NONGC" argument > to make-[su]{8,16,32}vector. This argument will allocate a uniform > bytevector in

[Chicken-users] A question about keywords and symbol->string

2017-03-16 Thread megane
Hello, Currently symbol->string strips any keyword prefixes when applied to keywords (e.g. (symbol->string 'foo:) returns "foo"). Is this correct behavior? Is there a way to get the full symbol name (i.e. #:foo -> "#:foo", and foo: -> "foo:")? Little background follows.. I was trying to define