Re: [Chicken-hackers] [PATCH] Ensure va_end() is always called in C_a_i_string()

2017-01-21 Thread Evan Hanson
On 2017-01-20 16:28, Kooda wrote: > Looks fine, pushed! Thanks Kooda! > I’m curious though: how did you catch this? http://cppcheck.sourceforge.net/ Evan ___ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/lis

Re: [Chicken-hackers] [PATCH] Ensure va_end() is always called in C_a_i_string()

2017-01-20 Thread Kooda
On Thu, 19 Jan 2017 22:16:20 +1300 Evan Hanson wrote: > Previously, the call to va_end() would be skipped when this procedure > was given invalid arguments (and continued to `barf` a result). > --- > runtime.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/runtim

[Chicken-hackers] [PATCH] Ensure va_end() is always called in C_a_i_string()

2017-01-19 Thread Evan Hanson
Previously, the call to va_end() would be skipped when this procedure was given invalid arguments (and continued to `barf` a result). --- runtime.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime.c b/runtime.c index 78f2f9b6..40fd368f 100644 --- a/runtime.c +++ b/