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

vbsc_ident buffer accessed out of bounds #24

Merged
merged 1 commit into from
Jun 14, 2015
Merged

vbsc_ident buffer accessed out of bounds #24

merged 1 commit into from
Jun 14, 2015

Conversation

caglar10ur
Copy link
Contributor

Adopt src/pci_ahci.c logic

struct ahci_port {
...
char ident[20 + 1];
...
}

as they both hold the MD5 sum. Also while at it start using snprintf.

Signed-off-by: S.Çağlar Onur caglar@10ur.org

Adopt src/pci_ahci.c logic

struct ahci_port {
    ...
    char ident[20 + 1];
    ...
}

as they both hold the MD5 sum. Also while at it start using snprintf.

Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
@xez
Copy link
Contributor

xez commented Jun 14, 2015

If you are super awesome you could also file a bug report against bhyve (since it is not an xhyve speficic issue) ;)

https://www.freebsd.org/support/bugreports.html

@caglar10ur
Copy link
Contributor Author

mist64 added a commit that referenced this pull request Jun 14, 2015
vbsc_ident buffer accessed out of bounds
@mist64 mist64 merged commit e1cb461 into machyve:master Jun 14, 2015
uqs pushed a commit to freebsd/freebsd-src that referenced this pull request Nov 20, 2018
to avoid buffer accessed out of bounds, also switch to snprintf(3).

PR:		200859
Submitted by:	Caglar <caglar@10ur.org>
Obtained from:	machyve/xhyve#24
MFC after:	4 weeks
Sponsored by:	iXsystems Inc.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@340707 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
uqs pushed a commit to freebsd/freebsd-src that referenced this pull request Nov 20, 2018
to avoid buffer accessed out of bounds, also switch to snprintf(3).

PR:		200859
Submitted by:	Caglar <caglar@10ur.org>
Obtained from:	machyve/xhyve#24
MFC after:	4 weeks
Sponsored by:	iXsystems Inc.
mat813 pushed a commit to mat813/freebsd that referenced this pull request Nov 21, 2018
to avoid buffer accessed out of bounds, also switch to snprintf(3).

PR:		200859
Submitted by:	Caglar <caglar@10ur.org>
Obtained from:	machyve/xhyve#24
MFC after:	4 weeks
Sponsored by:	iXsystems Inc.


git-svn-id: https://svn.freebsd.org/base/head@340707 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
brooksdavis pushed a commit to CTSRD-CHERI/cheribsd that referenced this pull request Nov 27, 2018
to avoid buffer accessed out of bounds, also switch to snprintf(3).

PR:		200859
Submitted by:	Caglar <caglar@10ur.org>
Obtained from:	machyve/xhyve#24
MFC after:	4 weeks
Sponsored by:	iXsystems Inc.
uqs pushed a commit to freebsd/freebsd-src that referenced this pull request Dec 18, 2018
Define AHCI_PORT_IDENT and increase by 1 the VTBLK_BLK_ID_BYTES
to avoid buffer accessed out of bounds, also switch to snprintf(3).

PR:		200859
Submitted by:	Caglar <caglar@10ur.org>
Obtained from:	machyve/xhyve#24
mat813 pushed a commit to mat813/freebsd that referenced this pull request Dec 21, 2018
Define AHCI_PORT_IDENT and increase by 1 the VTBLK_BLK_ID_BYTES
to avoid buffer accessed out of bounds, also switch to snprintf(3).

PR:		200859
Submitted by:	Caglar <caglar@10ur.org>
Obtained from:	machyve/xhyve#24


git-svn-id: https://svn.freebsd.org/base/stable/12@342184 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bsdimp pushed a commit to bsdimp/freebsd that referenced this pull request Dec 31, 2018
to avoid buffer accessed out of bounds, also switch to snprintf(3).

PR:		200859
Submitted by:	Caglar <caglar@10ur.org>
Obtained from:	machyve/xhyve#24
MFC after:	4 weeks
Sponsored by:	iXsystems Inc.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@340707 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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