repo.or.cz
/
Samba.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Fix bug #9209 - Parse of invalid SMB2 create blob can cause smbd crash.
2012-10-29
Stefan Met
z
macher
li
b
c
l
i/s
m
b
: fix paddin
g
in smb2_create_blob*
commit
|
commitdiff
|
tree
2012-10-29
Ste
f
an Metzmach
e
r
s3:smb2_notify: don't call tevent_r
e
q_done(
)
fro
m
smbd_smb2_
.
.
.
Signed-off-by:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-10-29
Ste
f
an Metzmacher
s3:smb2
_
s
erv
e
r: avoid segfaul
t
in smb
d
_
smb2_req
u
est
_
pending_
.
.
.
Signed-off-by:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-10-29
Ste
f
an Metzmach
e
r
s4:to
r
ture:sm
b
2: extend the compound
.
invalid1 test
Signed-off-by:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-10-29
Stefan Me
t
zma
c
h
er
s
3
:
s
m
b2_server: do the req->nex
t
_
s
tat
u
s check
bef
o
re
.
.
.
Signed-off-by:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-10-29
St
e
fan Metzmacher
s3:smb2
_
server:
res
e
t req->last_sessio
n
_id and re
q
.
.
.
Signed-off-by:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-10-29
Stef
a
n
Metzmacher
s4:tortur
e
/smb2
:
fix c
o
mpoun
d
.
invalid2 against windows
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-09-13
Stefan
M
e
t
zmacher
s3:
s
mb2_ioct
l
:
a
d
d
s
om
e
more valid
a
tion checks
commit
|
commitdiff
|
tree
2012-07-24
St
e
fan Metzmacher
s3:smb
2
_
s
e
rver: implem
e
nt credit gra
n
ting
s
imilar to
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
Stefan Metzmacher
s
3
:sm
b
2_
s
erver: make sure sequence numbers don't wrap
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
Stefan Metz
m
acher
s3:smb2_server: mak
e
sure we don't
grant
m
o
re
c
r
e
dits
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
Stefan M
e
tzm
a
cher
s3:smb
2
_serv
e
r:
c
heck the alrea
d
y granted c
r
e
di
t
s
like
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
Stefan Metzmacher
s
3:smb2_server: split out a
sm
b
2_val
i
date_sequence_number
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
S
t
efan Met
z
macher
s3:smb2_s
e
rver:
c
l
e
ar seq
u
e
n
ce
w
indow if we got
t
he
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
Stefa
n
M
etzmache
r
s3:s
m
b2_server:
fix ca
l
cula
t
ion of the next bitmap_offset
commit
|
commitdiff
|
tree
2012-07-24
Stefan
Metzmac
h
er
s3
:
smb2_server: re
m
ove unused
a
nd confus
i
ng DE
F
AULT_SMB2_MAX
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
S
t
efan Metzmac
h
er
s3:smb2_server: call smbd_smb2_request_validate
(
) also
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
Stef
a
n Metzmacher
s3:smb2
_
server: sta
r
t th
e
connec
t
ion w
i
th one
credit
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
Ste
f
an Metzmacher
s
3:vfs_g
p
fs: be l
e
ss verbose
in
g
et/set_xattr fun
c
tions
commit
|
commitdiff
|
tree
2012-07-24
S
tefan
M
et
z
mac
h
er
s3
:
winbin
d
d: do
n
't
turn
ne
g
at
i
ve cache
ent
r
ie
s
int
o
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
Stefan Metzmacher
s3:passd
b
:
don't
turn negative cache e
n
tries i
n
to v
a
li
d
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
Stefan Metzm
a
che
r
s3:w
i
nbindd: d
o
not expose negative
c
ache id
m
ap
e
ntries
.
.
.
commit
|
commitdiff
|
tree
2012-07-24
Stefan
Metzmacher
s3:winbindd: d
i
s
c
ard
t
he
expired gid cache i
f
we're
.
.
.
commit
|
commitdiff
|
tree
2012-06-22
Stefan Me
t
zm
a
cher
s
3
:smbd:
u
se f
s
p_persistent_id() as
p
e
rsistent_file_id
.
.
.
Autobuild-User(master):
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-06-22
Stefan
Metzm
a
cher
s3:smb
d
: a
d
d
a fsp_persistent_id() function
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metzmach
e
r
s3:sm
b
d: try to m
a
ke fsp->fh->gen_i
d
a
s
glo
b
ally unique
.
.
.
commit
|
commitdiff
|
tree
2012-06-22
Stefan
M
et
z
macher
R
e
vert "s3:smbd: set re
q
-
>
s
mb2req->c
o
mpat_chain_fsp
.
.
.
Autobuild-User(master):
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metzmacher
s3
:
sm
b
2_ioctl
:
make use of file_f
s
p_smb2()
commit
|
commitdiff
|
tree
2012-06-22
S
tefan Me
t
zmacher
s3:smb2_lock: make
use of file_fsp_smb2()
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metzmacher
s3:smb2_write: ma
k
e use o
f
file_fsp
_
smb2()
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metzmacher
s3:smb2
_
r
e
ad: make use
of file_fsp_
s
mb2()
commit
|
commitdiff
|
tree
2012-06-22
S
t
efan Metzmach
e
r
s3:
s
mb2_no
t
ify: make use of file_fsp_smb2()
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metz
m
a
ch
e
r
3:smb2_setinfo: make use of
f
ile_fsp_sm
b
2()
commit
|
commitdiff
|
tree
2012-06-22
S
t
efan Met
z
macher
s3:smb2_g
e
tinf
o
: m
a
k
e
use of file_fsp_smb2()
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metzmacher
s3:smb2_find: make use of file_fs
p
_smb2()
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metz
m
acher
s
3:smb2_br
e
ak: make use of file_fsp_sm
b
2(
)
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metzmacher
s
3:smb2_close: make use of fil
e
_fsp_smb2(
)
commit
|
commitdiff
|
tree
2012-06-22
Ste
f
a
n
Metzma
c
her
s3:smb2_
f
lush
:
make us
e
o
f
f
ile_fsp_smb2()
commit
|
commitdiff
|
tree
2012-06-22
Stefan M
e
tzmacher
s3
:
smbd:
add
fil
e
_fsp_smb2()
commit
|
commitdiff
|
tree
2012-06-22
Stefan Me
t
zmacher
s3:sm
b
2_write: pass fsp->
f
num to i
n
it_strict_lock_struc
t
()
Autobuild-User(master):
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-06-22
Stefan
Metzmacher
s3:smb2_read: pass fsp->fnum to init_strict_lock_struct()
commit
|
commitdiff
|
tree
2012-06-22
S
t
ef
a
n Metzmach
e
r
s3:smb2_lock:
us
e
fsp->fnum
a
s
loc
k
ing co
n
t
e
xt
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metzmache
r
s3:
s
mb2_lock: use smb2req->c
o
m
pat_
c
h
a
in_fsp ins
t
ead
.
.
.
commit
|
commitdiff
|
tree
2012-06-22
S
te
f
a
n Metzmache
r
s
3
:smbd: set req->smb2req->co
m
pat_c
h
ain_fsp in
file_fsp()
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metzmacher
Fix bug
#8311 - Winz
i
p o
c
casionally
c
a
n
not re
a
d fi
l
es
.
.
.
commit
|
commitdiff
|
tree
2012-06-22
Stefan Metzmacher
s3:dbwrap_ctdb: return the numb
e
r of records in db_
c
tdb_trav
.
.
.
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-06-22
St
e
fan Metzma
c
her
s3:s
m
b2_server: fix a logic error, w
e
should sign non
.
.
.
commit
|
commitdiff
|
tree
2012-06-22
Stefan Me
t
z
m
acher
s3:a
u
th:
f
ill the s
i
ds a
r
ray of the info3 in wbcAuthUserInfo
.
.
.
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-06-22
Stef
a
n Metzmacher
s3
:
aut
h
: fix potential ga
p
c
reation in wbcsids_to_sam
r
_RidWi
.
.
.
commit
|
commitdiff
|
tree
2012-06-22
S
tefan Metzmacher
s3:cl
i
ent: ignore
SMBe
c
ho errors
(th
e
server may not
.
.
.
commit
|
commitdiff
|
tree
2012-04-07
Stefan
Metzmacher
pidl/NDR/Par
s
er:
a
l
so do range
checks on the array
.
.
.
commit
|
commitdiff
|
tree
2012-04-07
Stefan Metzmacher
p
id
l
/NDR/P
a
rser: do arra
y
rang
e
v
alidation in ParseArrayPull
.
.
.
commit
|
commitdiff
|
tree
2012-04-07
Stef
a
n Metzm
a
c
her
pidl/NDR/Parse
r
: use
helper variables fo
r
array size
.
.
.
commit
|
commitdiff
|
tree
2012-04-07
Stefan
Metzm
a
c
her
pidl/NDR/Pa
r
ser: r
e
member if we already know
the array
.
.
.
commit
|
commitdiff
|
tree
2012-04-07
Stefan Metzmacher
p
idl/NDR/Pa
r
s
er: use Par
s
eA
r
rayPullGet
L
en
g
th() to get
.
.
.
commit
|
commitdiff
|
tree
2012-04-07
Stefan M
e
tzmacher
p
i
dl/NDR/Parse
r
: split off Par
s
eArr
a
y
P
ull
G
etSize
(
)
.
.
.
commit
|
commitdiff
|
tree
2012-04-07
Stefan Metzmacher
pidl
/
NDR/Pa
r
ser: simplify logic in Declare
A
rrayVariables*()
commit
|
commitdiff
|
tree
2012-04-07
Stefan Metzmac
h
er
pidl/ND
R
/Pa
r
ser: d
e
c
lare al
l
union he
l
pe
r
var
i
a
bles
.
.
.
commit
|
commitdiff
|
tree
2012-01-23
Ste
f
an Metz
m
acher
libcli/cldap:
f
ix a cr
a
sh bug in cl
d
a
p
_socket_r
e
cv_dgram
.
.
.
commit
|
commitdiff
|
tree
2012-01-23
Stefan Me
t
zmacher
s3:lib/ctdbd_conn: tr
y
ctdbd_init_connection() as root
.
.
.
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-01-23
S
t
e
fan Metzmacher
s
3
:libsmb: only a
l
ign
u
nico
d
e pipe
_
name
(
bug #8586)
commit
|
commitdiff
|
tree
2012-01-23
Ste
f
a
n
M
etzmacher
l
i
bcli/cldap: make sur
e
the local
a
nd rem
o
te addr
e
ss
.
.
.
commit
|
commitdiff
|
tree
2012-01-23
Stefan Met
z
macher
s3:libsmb: co
n
sist
e
nt
l
y use
state->s
i
ze in cli_write_a
n
dx_
c
r
.
.
.
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-01-23
Stefan Metzmacher
s3:li
b
smb: f
i
x
cli_wr
i
te_and_x() agains
t
O
S
/2 print
.
.
.
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-01-23
Stef
a
n Met
z
macher
s3:smb2_flush: outbody onl
y
n
e
eds 4
b
ytes
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-01-23
Stefa
n
Metzm
a
cher
s3:s
m
b2_server
:
gr
a
nt credit
s
in
async interim re
s
ponses
.
.
.
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-01-23
Stefa
n
Metzmacher
s3:
s
mbd:
d
on
'
t limit
the
number of open dptrs
for smb2
.
.
.
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-01-23
Ste
f
a
n M
e
tzmacher
s3
:
s
m
bd: fully constr
u
ct
t
h
e
d
ptr b
e
fore a
l
locat
i
ng
.
.
.
commit
|
commitdiff
|
tree
2012-01-23
Stefan Met
z
macher
s3:smbd: avoid
s
tring_
s
et() in
di
r
.
c
commit
|
commitdiff
|
tree
2012-01-23
S
tefan Me
t
zmache
r
s
3
:libsmb:
the workg
r
ou
p
i
n
the non
-
extended-security
.
.
.
commit
|
commitdiff
|
tree
2012-01-23
Stefan Metzma
c
her
s3:smb
2
_serve
r
: FL
A
G_CHAINED means we always u
s
e the
.
.
.
commit
|
commitdiff
|
tree
2012-01-23
Stefan Metzm
a
cher
smb2_c
o
ns
t
ants
:
add SMB2_
H
DR_CR
E
DIT_CHARGE
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2012-01-23
Stefan Metzmacher
s3:
s
mb2_serve
r
:
don't reset th
e
ti
d
a
nd session id
.
.
.
commit
|
commitdiff
|
tree
2012-01-23
S
t
e
fan Metzma
c
her
s3:smb2_server: ec
h
o
the SMB2_H
D
R
_C
R
EDIT_CHARGE and
.
.
.
commit
|
commitdiff
|
tree
2011-10-15
Stefan
Metzmacher
s3:sm
b
2
_serve
r
: get
/
set info are li
m
ite
d
b
y max_t
r
ans
.
.
.
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2011-10-15
Stefan Metzmacher
s3:smb2_se
r
ver: rejec
t
writes la
r
ger th
e
n the negot
i
a
ted
.
.
.
commit
|
commitdiff
|
tree
2011-10-15
Ste
f
an Metzmacher
s
3:smb2_server:
rem
e
m
ber the max_{trans,read,
w
rite
.
.
.
commit
|
commitdiff
|
tree
2011-10-15
Stefa
n
Met
z
m
a
che
r
s
4:torture/smb2: we on
l
y support
64KB reads/wr
i
tes
.
.
.
commit
|
commitdiff
|
tree
2011-10-15
Ste
f
an
Metzm
a
c
her
s
3
:smbd: disconnect the socket if
w
e got
a
n unexpected
.
.
.
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2011-10-15
Stefan M
e
tzm
a
c
her
s3:smb2_server: max_tran
s
, max_read and ma
x
_write are
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Stefan Met
z
m
a
c
h
er
s3:smb
2
_
s
e
r
ver:
S
M
B
2_
O
P_GETINFO doesn't requi
r
e at
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Stefan Metzma
c
her
s3:sm
b
2_server:
retu
r
n
OBJECT_N
A
M
E_INVALID if the path
.
.
.
Autobuild-User:
Stefan Metzmacher
<metze@samba.org>
commit
|
commitdiff
|
tree
2011-10-12
Stef
a
n
Metzmacher
s3
:
smb2_
s
erver: return OBJECT_NAME_INVALID
i
f the pat
h
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
St
e
f
an
Met
z
macher
s3:smb2
_
s
e
rv
e
r
:
return BAD_N
E
TWORK_NAME i
f
the path
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
S
t
efan Metzmac
h
er
s3:
s
mb2_server
:
use
s
mb
d
_smb2_
r
e
q
uest
_
verify_sizes
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Ste
f
an M
e
t
z
mach
e
r
s
3
:smb2_server
:
use smb
d
_smb2_req
u
est_
v
erify_si
z
es
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Stefan Metzmacher
s3:smb2_s
e
rver: use smbd_smb2_reque
s
t_ver
i
fy_sizes
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Ste
f
a
n
Me
t
zmacher
s3:smb2_server: use s
m
bd
_
s
m
b2_
r
e
q
uest_verify_si
z
es
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
S
t
e
fan
Metz
m
a
cher
s3:smb2_server: use sm
b
d_smb
2
_reques
t
_ver
i
f
y_sizes
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Ste
f
an M
e
t
z
m
a
c
her
s3:smb2_server
:
us
e
smbd
_
smb2_request_verify_sizes
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
S
tefan Metzmach
e
r
s3:smb2_
s
erver: us
e
smbd_smb2_re
q
ues
t
_verify_sizes
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
S
t
ef
a
n Metzmacher
s3:smb2_server:
u
se s
m
bd_smb2_
r
equest_verify_size
s
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Stefan Metzm
a
cher
s3:sm
b
2_ser
v
er: use
s
mbd_smb2_request_veri
f
y_s
i
zes
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Stefan Metzmache
r
s3:smb
2
_
s
erver:
u
s
e
smbd_sm
b
2_req
u
est_verify_
s
izes
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
S
t
efan Metzmacher
s3:s
m
b
2_server: us
e
smbd_smb
2
_request_verify
_
s
i
zes
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Stefan
Me
t
zm
a
cher
s3:smb2_server: use
smbd_s
m
b2_request_
v
erify_size
s
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Stefan Me
t
zm
a
cher
s
3
:smb2_server:
use sm
b
d_sm
b
2
_
r
equest_
v
erify_sizes
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Stefan M
e
tzm
a
ch
e
r
s3
:
smb2_serve
r
: use smbd
_
s
mb2
_
request_verify_sizes
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Stefan
Metzmacher
s3:smb2_serv
e
r:
us
e
smbd_smb2_re
q
ue
s
t_verify
_
s
izes
.
.
.
commit
|
commitdiff
|
tree
2011-10-12
Stefan Metzmacher
s
3:smb
2
_serv
e
r: us
e
smbd_smb2_request_verify_sizes
.
.
.
commit
|
commitdiff
|
tree
next