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 #2233

Merged
merged 1 commit into from Jan 3, 2019
Merged

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

merged 1 commit into from Jan 3, 2019

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.

Tracked-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

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

1 similar comment
@ghost
Copy link

ghost commented Jan 3, 2019

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

@acrnsi acrnsi added the Auto_Merge_Pass it is ready to merge label Jan 3, 2019
@acrnsi
Copy link

acrnsi commented Jan 3, 2019

Ready to merge

@wenlingz wenlingz merged commit 01c8f54 into projectacrn:master Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto_Merge_Pass it is ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants