On 2014/06/12 16:21, Ted Roby wrote:
> When using the -t F flag with stegdetect an error is thrown
> because mkstemp in f5.c provides an invalid template. This
> patch provides a valid template of 6 X's instead of 4.
> 
> 
> $OpenBSD$
> --- f5.c.orig   Sun Aug 29 16:11:00 2004
> +++ f5.c        Wed Jun 11 23:37:56 2014
> @@ -77,7 +77,7 @@ f5_compress(struct image *image, struct jeasy *je, int
>         struct jpeg_compress_struct cinfo;
>         struct jpeg_decompress_struct *jinfo;
>         static struct jpeg_error_mgr jerr, jsrcerr;
> -       char template[] = "/tmp/stegdetect.XXXX";
> +       char template[] = "/tmp/stegdetect.XXXXXX";
>         JSAMPROW row_pointer[1];        /* pointer to JSAMPLE row[s] */
>         FILE *fout, *fin;
>         int row_stride;         /* physical row width in image buffer */
> 

Thanks, committed (it also needed a REVISION bump and I made a few
other cleanups at the same time).

BTW to send cvs diffs with added files, you can use 'cvs add' and
then 'cvs diff -uNp', as long as there are no new directories this works
against anoncvs.

Reply via email to