comparison src/image.hh @ 1202:f77f7973534e

use IMAGE_MAX_AREA instead of IMAGE_MAX_W and IMAGE_MAX_H
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 29 Jun 2009 18:59:45 +0200
parents 97b68213b58e
children e59742ef792a
comparison
equal deleted inserted replaced
1201:cabde55d0e05 1202:f77f7973534e
15 /* 15 /*
16 * Defines 16 * Defines
17 */ 17 */
18 18
19 /* Arbitrary maximum for image size (to avoid image size-crafting attacks). */ 19 /* Arbitrary maximum for image size (to avoid image size-crafting attacks). */
20 #define IMAGE_MAX_W 6000 20 #define IMAGE_MAX_AREA (6000 * 6000)
21 #define IMAGE_MAX_H 6000
22
23 21
24 /* 22 /*
25 * Types 23 * Types
26 */ 24 */
27 25