Skip to content

Set VIPS_BLOCK_UNTRUSTED by default #57

@jcupitt

Description

@jcupitt

Many libvips binaries ship with a range of poorly tested loaders, and these are all enabled by default.

If you are dealing with untrusted data (as most intervention users probably will be), it's best to disable these by default. An easy way to do this is to set the VIPS_BLOCK_UNTRUSTED env var on startup, and give users some way to reenable specific wonky loaders if they have to.

https://www.libvips.org/API/current/VipsOperation.html#vips-operation-block-set

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions