From bc79cb4f623fe8f6608cc00c27f6325b1c753817 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sun, 30 Mar 2014 15:23:55 +0100 Subject: [PATCH] crash-causing typo in vips_rawsave() thanks Alessandro --- ChangeLog | 1 + libvips/foreign/rawsave.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 85524960..58c5338d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ - grey ramp minimum was wrong - vipsthumbnail --crop could fail for very non-square images, thanks Alessandro +- fix a crash in vips_rawsave(), thanks Alessandro 24/2/14 started 7.38.5 - jpeg load from buffer could write to input, thanks Lovell diff --git a/libvips/foreign/rawsave.c b/libvips/foreign/rawsave.c index 0ab34125..14679878 100644 --- a/libvips/foreign/rawsave.c +++ b/libvips/foreign/rawsave.c @@ -174,7 +174,7 @@ vips_rawsave( VipsImage *in, const char *filename, ... ) int result; va_start( ap, filename ); - result = vips_call_split( "rawsave", ap, filename ); + result = vips_call_split( "rawsave", ap, in, filename ); va_end( ap ); return( result );