git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396bcf0
)
Array size fixup for construct_nt_devicemode() from HEAD.
author
Tim Potter
<tpot@samba.org>
Mon, 14 Apr 2003 03:50:38 +0000
(
03:50
+0000)
committer
Tim Potter
<tpot@samba.org>
Mon, 14 Apr 2003 03:50:38 +0000
(
03:50
+0000)
source/printing/nt_printing.c
patch
|
blob
|
history
diff --git
a/source/printing/nt_printing.c
b/source/printing/nt_printing.c
index 3f5bf555349e050387f4511d078770a89477760f..a486fb9c003f58a763ffe8137311645a196d60c1 100644
(file)
--- a/
source/printing/nt_printing.c
+++ b/
source/printing/nt_printing.c
@@
-2110,7
+2110,7
@@
done:
NT_DEVICEMODE *construct_nt_devicemode(const fstring default_devicename)
{
- char adevice[MAXDEVICENAME
+1
];
+ char adevice[MAXDEVICENAME];
NT_DEVICEMODE *nt_devmode = (NT_DEVICEMODE *)malloc(sizeof(NT_DEVICEMODE));
if (nt_devmode == NULL) {