Skip to content

Commit

Permalink
security limits: restore previous defaults prior to 2374ade
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Oct 10, 2024
1 parent f45abc8 commit 6b35741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libheif/security_limits.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ struct heif_security_limits global_security_limits {
.max_bayer_pattern_pixels = 16*16,

.max_iref_references = 0,
.max_iloc_items = 0,
.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 6b35741

Please sign in to comment.