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

pull/26/head
Andrey Kamaev 12 years ago
parent 4157a640ba
commit c7db1c1cc8
  1. 3
      3rdparty/libjasper/jasper/jas_stream.h

@ -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

Loading…
Cancel
Save