mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
Bug 1464039 - Reject some invalid transforms in qcms. r=mwoodrow, a=RyanVM
This commit is contained in:
parent
c180f85048
commit
4cc70839b2
1 changed files with 4 additions and 0 deletions
|
|
@ -972,6 +972,10 @@ static float* qcms_modular_transform_data(struct qcms_modular_transform *transfo
|
|||
assert(0 && "Unsupported transform module");
|
||||
return NULL;
|
||||
}
|
||||
if (transform->grid_size <= 0) {
|
||||
assert(0 && "Invalid transform");
|
||||
return NULL;
|
||||
}
|
||||
transform->transform_module_fn(transform,src,dest,len);
|
||||
dest = src;
|
||||
src = new_src;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue