Commit 2c21642
[VP] Fix height validation in FC kernel composition
Fixed a copy-paste error in VpRenderFcKernel::UpdateCompParams() where dwWidth was checked twice instead of checking both dwWidth and dwHeight. The condition now correctly validates that neither width nor height is zero before proceeding with surface composition. This bug could have allowed invalid surfaces with zero height to pass validation, potentially causing rendering issues or crashes.1 parent 80321f0 commit 2c21642
File tree
1 file changed
+1
-1
lines changed- media_softlet/agnostic/common/vp/hal/packet
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2726 | 2726 | | |
2727 | 2727 | | |
2728 | 2728 | | |
2729 | | - | |
| 2729 | + | |
2730 | 2730 | | |
2731 | 2731 | | |
2732 | 2732 | | |
| |||
0 commit comments