Bug 841, CVE-2006-5925: Prevent enabling the SMB protocol.
commit6f14725204fdd0a5f5a054ad7ab7340cd1ce27cb
authorKalle Olavi Niemitalo <kon@iki.fi>
Sat, 18 Nov 2006 20:17:58 +0000 (18 22:17 +0200)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sat, 18 Nov 2006 20:37:51 +0000 (18 22:37 +0200)
tree7930fe44cc9e01f460b014c4ac5c763f07b834a0
parent8789b7c330d4bf21a084f3451f089a80a169123c
Bug 841, CVE-2006-5925: Prevent enabling the SMB protocol.

src/protocol/smb/smb.c: Added #error directives so that this
vulnerable code cannot be accidentally compiled in.

features.conf: Disable CONFIG_SMB by default and explain why.

configure.in: If the user set CONFIG_SMB in features.conf or
--enable-smb in the command line, disable them and warn the user.

(This commit combines f915c311274925a7d38c8661ddfa243d82739cd9 and
388de7bd6561834b626960530004be1930d9c790 from ELinks 0.12.GIT.)
configure.in
features.conf
src/protocol/smb/smb.c