Skip to content
Permalink
Browse files
Fixed Bug: AXIS2C-1674. Simple HttpServer crashes when reading direct…
…ories in Windows 2012 Server
  • Loading branch information
Rafael Bronzeri committed Jul 6, 2016
1 parent 45dad29 commit 98b8526d26eb5d2f97df9b2487ebe913009aa40c
Showing 1 changed file with 8 additions and 0 deletions.
@@ -102,6 +102,14 @@ axutil_stream_free(
axutil_stream_t *stream,
const axutil_env_t *env)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);

//avoid access violation / segment fault
if (stream == NULL)
{
return;
}

switch(stream->stream_type)
{
case AXIS2_STREAM_BASIC:

0 comments on commit 98b8526

Please sign in to comment.