52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
|
|
{
|
||
|
|
"id": "batch_extract_bytes_size_cap",
|
||
|
|
"category": "batch",
|
||
|
|
"description": "batch_extract_bytes: archive size cap triggers error",
|
||
|
|
"call": "batch_extract_bytes",
|
||
|
|
"skip": {
|
||
|
|
"languages": [
|
||
|
|
"rust",
|
||
|
|
"node",
|
||
|
|
"python",
|
||
|
|
"php",
|
||
|
|
"wasm",
|
||
|
|
"go",
|
||
|
|
"r",
|
||
|
|
"ruby",
|
||
|
|
"csharp",
|
||
|
|
"elixir",
|
||
|
|
"kotlin",
|
||
|
|
"kotlin_android",
|
||
|
|
"swift",
|
||
|
|
"zig",
|
||
|
|
"java",
|
||
|
|
"dart"
|
||
|
|
],
|
||
|
|
"reason": "SecurityLimits.max_content_size is only enforced by archive/Excel extractors; test requires actual archive format to trigger error, which is not easily testable via byte fixtures"
|
||
|
|
},
|
||
|
|
"input": {
|
||
|
|
"items": [
|
||
|
|
{
|
||
|
|
"content": [
|
||
|
|
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
|
||
|
|
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
|
||
|
|
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
|
||
|
|
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
|
||
|
|
97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97
|
||
|
|
],
|
||
|
|
"mime_type": "text/plain"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"config": {
|
||
|
|
"security_limits": {
|
||
|
|
"max_content_size": 1
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"assertions": [
|
||
|
|
{
|
||
|
|
"type": "error"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|