Skip to content

Commit

Permalink
Merge pull request #1329 from lovell/security-limits-restore
Browse files Browse the repository at this point in the history
Security: restore previous default limits prior to commit 2374ade
  • Loading branch information
farindk authored Oct 10, 2024
2 parents 93cbc22 + 365c08d commit feef3c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libheif/security_limits.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ struct heif_security_limits global_security_limits {
.max_image_size_pixels = 32768 * 32768,
.max_bayer_pattern_pixels = 16*16,

.max_iref_references = 0,
.max_iloc_items = 0,
.max_iref_references = 10000,
.max_iloc_items = 20000,
.max_iloc_extents_per_item = 32,
.max_children_per_box = 65536,
.max_children_per_box = 20000,
.max_number_of_tiles = 4096 * 4096,

.max_color_profile_size = 100 * 1024 * 1024, // 100 MB
Expand Down

0 comments on commit feef3c1

Please sign in to comment.