artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44ac566
)
device path should be PATH_MAX. Any NAME_MAX without +1 is suspect
author
deraadt
<deraadt@openbsd.org>
Mon, 12 Jun 2017 13:41:24 +0000
(13:41 +0000)
committer
deraadt
<deraadt@openbsd.org>
Mon, 12 Jun 2017 13:41:24 +0000
(13:41 +0000)
to begin with anyways.
usr.sbin/vmd/vmd.h
patch
|
blob
|
history
diff --git
a/usr.sbin/vmd/vmd.h
b/usr.sbin/vmd/vmd.h
index
a24c959
..
be62183
100644
(file)
--- a/
usr.sbin/vmd/vmd.h
+++ b/
usr.sbin/vmd/vmd.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: vmd.h,v 1.5
5 2017/05/30 17:56:47 tedu Exp $
*/
+/* $OpenBSD: vmd.h,v 1.5
6 2017/06/12 13:41:24 deraadt Exp $
*/
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@
-139,7
+139,7
@@
struct vmop_create_params {
struct vmboot_params {
int vbp_fd;
off_t vbp_partoff;
- char vbp_device[
NAME
_MAX];
+ char vbp_device[
PATH
_MAX];
char vbp_image[PATH_MAX];
uint32_t vbp_bootdev;
uint32_t vbp_howto;