Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM: xHCI: array bound checking before it is used #2232

Closed
wants to merge 1 commit into from
Closed

DM: xHCI: array bound checking before it is used #2232

wants to merge 1 commit into from

Conversation

tianhuas
Copy link
Contributor

@tianhuas tianhuas commented Jan 3, 2019

Array index of "vbdp_devs" may be out of bounds if
"i >= XHCI_MAX_VIRT_PORTS", so index checking is necessary.

Tracked-On: #1252
Signed-off-by: Tianhua Sun tianhuax.s.sun@intel.com
Acked-by: Yu Wang yu1.wang@intel.com

Array index of "vbdp_devs" may be out of bounds if
"i >= XHCI_MAX_VIRT_PORTS", so index checking is necessary.

Tacked-On: #1252
Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
@ghost
Copy link

ghost commented Jan 3, 2019

2232
The PR does not touch any hypervisor source file. Skip coding guideline checks.

@tianhuas tianhuas closed this Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants