imageflow icon indicating copy to clipboard operation
imageflow copied to clipboard

Fuzzing bugs

Open lilith opened this issue 3 years ago • 2 comments

Imageflow.Bindings.ImageflowException
ArgumentInvalid: LayoutError: ValueScalingFailed { ratio: 1.334448160535117, basis: -100, invalid_result: -133.44481605351172 } at
imageflow_core\src\flow\nodes\command_string.rs:96:61
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/flow/nodes/command_string.rs#L96
imageflow_core\src\flow\execution_engine.rs:294:29
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/flow/execution_engine.rs#L294
imageflow_core\src\flow\execution_engine.rs:400:89
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/flow/execution_engine.rs#L400
imageflow_core\src\context.rs:419:59
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/context.rs#L419
imageflow_core\src\context_methods.rs:50:68
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/context_methods.rs#L50
Active node:
NodeDebugInfo {
    stable_id: -1,
    params: Json(
        CommandString {
            kind: ImageResizer4,
            value: "format=webp&h=-100&maxheight=2&maxwidth=3300&mode=stretch&quality=1&rotate=270",
            decode: None,
            encode: Some(
                1,
            ),
            watermarks: None,
        },
    ),
    index: NodeIndex(0),
}


lilith avatar Aug 26 '22 04:08 lilith

ArgumentInvalid: LayoutError: ValueScalingFailed { ratio: 1.334448160535117, basis: -100, invalid_result: -133.44481605351172 } at
imageflow_core\src\flow\nodes\command_string.rs:96:61
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/flow/nodes/command_string.rs#L96
imageflow_core\src\flow\execution_engine.rs:294:29
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/flow/execution_engine.rs#L294
imageflow_core\src\context.rs:419:59
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/context.rs#L419
imageflow_core\src\context_methods.rs:50:68
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/context_methods.rs#L50
Active node:
NodeDebugInfo {
    stable_id: 1,
    params: Json(
        CommandString {
            kind: ImageResizer4,
            value: "crop=0,0,0,0&h=-100&ignoreicc=false&maxwidth=2",
            decode: Some(
                0,
            ),
            encode: Some(
                1,
            ),
            watermarks: None,
        },
    ),
    index: NodeIndex(0),
}

lilith avatar Aug 26 '22 04:08 lilith

Imageflow.Bindings.ImageflowException
ArgumentInvalid: LayoutError: ValueScalingFailed { ratio: 1.334448160535117, basis: -100, invalid_result: -133.44481605351172 } at
imageflow_core\src\flow\nodes\command_string.rs:96:61
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/flow/nodes/command_string.rs#L96
imageflow_core\src\flow\execution_engine.rs:294:29
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/flow/execution_engine.rs#L294
imageflow_core\src\context.rs:419:59
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/context.rs#L419
imageflow_core\src\context_methods.rs:50:68
https://github.com/imazen/imageflow/blob/70945c00267a99d678fb0d53e675dc7827e12fe2/imageflow_core/src/context_methods.rs#L50
Active node:
NodeDebugInfo {
    stable_id: 1,
    params: Json(
        CommandString {
            kind: ImageResizer4,
            value: "crop=0,0,0,0&format=webp&h=-100&ignoreicc=true&maxwidth=-100&rotate=270&w=40",
            decode: Some(
                0,
            ),
            encode: Some(
                1,
            ),
            watermarks: None,
        },
    ),
    index: NodeIndex(0),
}

lilith avatar Aug 26 '22 04:08 lilith

Fixed in latest.

lilith avatar Sep 29 '22 17:09 lilith