Skip to content
Snippets Groups Projects
  • William Roberts's avatar
    773d4126
    check_seapp: Correct output on duplicate entries · 773d4126
    William Roberts authored
    
    If a duplicate entry is found, rule_map_cmp() incorrectly
    assumes that the lengths of the key value pairs should be
    equal, when this is not true. The duplicate detection is
    done on the input parameters, thus the lengths can be
    different. This resulted in a duplicate error string
    message of "do not match", instead of "match on all inputs".
    
    Also, the file name printed that contained the error was
    the output file, not the input file that contained it.
    
    Change-Id: I9b3f99fa4aa3454849de55f18b198b0b56e44320
    Signed-off-by: default avatarWilliam Roberts <william.c.roberts@intel.com>
    773d4126
    History
    check_seapp: Correct output on duplicate entries
    William Roberts authored
    
    If a duplicate entry is found, rule_map_cmp() incorrectly
    assumes that the lengths of the key value pairs should be
    equal, when this is not true. The duplicate detection is
    done on the input parameters, thus the lengths can be
    different. This resulted in a duplicate error string
    message of "do not match", instead of "match on all inputs".
    
    Also, the file name printed that contained the error was
    the output file, not the input file that contained it.
    
    Change-Id: I9b3f99fa4aa3454849de55f18b198b0b56e44320
    Signed-off-by: default avatarWilliam Roberts <william.c.roberts@intel.com>