It appears the code compares two texts of different sizes, which will result in a run-time error. The source of the problem could be a program bug or a typographical error. However, complicated code can result in Code Analyzer generating this message inappropriately.
Change the code, if appropriate. You might consider using the strcmp
function along
with the strncmp
, strfind
, or strcmpi
, function
instead of the current code. Otherwise, suppress the message as described in
Adjust Code Analyzer Message Indicators and Messages.