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

HV:fix potential buffer overflow issues #1276

Merged
merged 1 commit into from Sep 18, 2018

Conversation

yonghuah
Copy link
Contributor

@yonghuah yonghuah commented Sep 18, 2018

  • use sizeof(struct lapic_regs),instead of arbitrary size
    to lear 'apic_page' memory region in vlapic.c
  • fix potential buffer overflow issues in vpic.c & ioapic.c

Tracked-On: #1252
Signed-off-by: Yonghua Huang yonghua.huang@intel.com
Acked-by: Eddie Dong eddie.dong@intel.com

@lijinxia lijinxia merged commit 994a375 into projectacrn:master Sep 18, 2018
 - use sizeof(struct lapic_regs),instead of arbitrary size
   to lear 'apic_page' memory region in vlapic.c
 - fix potential buffer overflow issues in vpic.c & ioapic.c

Tracked-On: projectacrn#1252
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
@yonghuah yonghuah deleted the hv_kw_ww38 branch June 20, 2019 14:29
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

3 participants