httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54936] Some potential bugs reported by static analysis tool canalyze
Date Wed, 17 Jul 2013 05:51:55 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54936

--- Comment #1 from Christophe JAILLET <christophe.jaillet@wanadoo.fr> ---
Thanks for the report.

1. Invalid.
In the between of line 124 and 129 you can find:
    AP_DEBUG_ASSERT((pcm & SSL_PCM_EXISTS) ||
                    !(pcm & (SSL_PCM_ISREG|SSL_PCM_ISDIR|SSL_PCM_ISNONZERO)));
So it is expected not to happen.
This was introduced in r1180330 in the 2.4.x branch


2. r1503990


3. r1503991


8. Invalid
At that point ctx->err can not be NULL. It has been set to err424_set or
err424_delete which are allocated in the pool.
Should the memory allocation fail, we would abort.


9. Invalid
After the call you mention, we have
     AP_DEBUG_ASSERT(note != NULL);
So it is expected not to be NULL.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message