more uninitialized var warnings

git-svn-id: file:///home/svn/framework3/trunk@7495 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2009-11-13 22:11:52 +00:00
parent 8471baa62a
commit a3c020fef2
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,8 @@ class EncoderState
# Initializes a new encoder state, optionally with a key.
#
def initialize(key = nil)
@orig_buf = nil
@buf = nil
reset(key)
end

View File

@ -303,6 +303,8 @@ module Exploit::Remote::HttpServer
OptBool.new('HTTP::junk_headers', [false, 'Enable insertion of random junk HTTP headers', 'false']),
OptEnum.new('HTTP::compression', [false, 'Enable compression of HTTP responses via content encoding', 'none', ['none','gzip','deflate']]),
], Exploit::Remote::HttpServer)
@service_path = nil
end
#