LogFiles: Log 'IsAdmin' state.
Fix Coverity warning: Wrong sizeof argument

The wrong sizeof value is used in an expression or as argument to a function. The result is an incorrect value that may cause unexpected program behaviors.
Fix Coverity warning: Wrong sizeof argument

The wrong sizeof value is used in an expression or as argument to a function. The result is an incorrect value that may cause unexpected program behaviors.
Fix Coverity warning: Wrong sizeof argument

The wrong sizeof value is used in an expression or as argument to a function. The result is an incorrect value that may cause unexpected program behaviors.
Fix Coverity warning: Dereference before null check

There may be a null pointer dereference, or else the comparison against null is unnecessary.
Fix Coverity warning: Dereference before null check

There may be a null pointer dereference, or else the comparison against null is unnecessary.
Fix Coverity warning: Dereference after null check

Either the check against null is unnecessary, or there may be a null pointer dereference.
Fix Coverity warning: Dereference after null check

Either the check against null is unnecessary, or there may be a null pointer dereference.
Fix Coverity warning: Dereference after null check

Either the check against null is unnecessary, or there may be a null pointer dereference.
Fix Coverity warning: Dereference after null check

Either the check against null is unnecessary, or there may be a null pointer dereference.
Fix Coverity warning: Dereference null return value

If the function actually returns a null value, a null pointer dereference will occur.
Fix Coverity warning: Uninitialized pointer field

The pointer field will point to an arbitrary memory location, any attempt to write may cause corruption.
Fix Coverity warning: Uninitialized pointer field

The pointer field will point to an arbitrary memory location, any attempt to write may cause corruption..
Fix Coverity warning: Uninitialized pointer field
Fix Coverity warning: Uninitialized scalar field

The field will contain an arbitrary value left over from earlier computations.
Fix Coverity warning: Uninitialized scalar field

The field will contain an arbitrary value left over from earlier computations.
Fix Coverity warning: Copy into fixed size buffer

The string operation will write past the end of the fixed-size destination buffer if the source buffer is too large.
Fix Coverity warning: Copy into fixed size buffer
Internal. Add some constructor checks
Internal. Check allocated pointers