Commit c7db1c1c authored by Andrey Kamaev's avatar Andrey Kamaev

Apply 02-fix-filename-buffer-overflow patch from debian libjasper-dev (1.900.1-13) package

parent 4157a640
......@@ -77,6 +77,7 @@
#include <jasper/jas_config.h>
#include <stdio.h>
#include <limits.h>
#if defined(HAVE_FCNTL_H)
#include <fcntl.h>
#endif
......@@ -251,7 +252,7 @@ typedef struct {
typedef struct {
int fd;
int flags;
char pathname[L_tmpnam + 1];
char pathname[PATH_MAX + 1];
} jas_stream_fileobj_t;
#define JAS_STREAM_FILEOBJ_DELONCLOSE 0x01
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment