I see a false positive in the alpha.unix.cstring.UninitializedRead checker when analyzing code containing an array of structs, but not an equivalent array of a scalar type. $ clang --analyze -Xclang ...
Arrays of tokens as string offsets and lengths as well as a tokenized string which stores the tokens as a single contiguous array of NUL-terminated strings using cstring_array ...
Instinct allways told me this was illegal, but now I think maybe I'm wrong:<P><BLOCKQUOTE><font size="-1">code:</font><HR><pre>CString CSQLWrapper::CleanString(const ...