freeswitch/src/mod/applications/mod_hash
Travis Cross 7d11e19983 Check for null hash or private while holding lock
What if the hash were destroyed by one thread holding the lock while
another thread was waiting for the lock?  The waiting thread would
have already checked that the hash was non-null and would proceed on
that assumption after acquiring the lock.

With this commit we check only after acquiring the lock.

ref: FS-6783
ref: FS-6775
2014-09-03 19:45:45 +00:00
..
conf conf: add config files to module directories 2012-03-24 04:51:08 +00:00
Makefile.am FS-6293: srcdir builds, most of the built in mods work now 2014-03-14 23:13:34 -04:00
mod_hash.2008.vcproj Fix Windows build 2010-07-19 12:47:09 -05:00
mod_hash.2010.vcxproj Fix Windows build 2010-07-19 12:47:09 -05:00
mod_hash.2012.vcxproj Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
mod_hash.c Check for null hash or private while holding lock 2014-09-03 19:45:45 +00:00