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 */