nohardcodeemail


nohardcodeemail.p bug?

If hard coded email is found in an include file, this rule shows the original procedure as source.
E.g. if I have procedure proc.p which is

/* proc.p body */
/* ... some code */
{inc.i}
/* ... some code */

hard coded email is in inc.i

Though proLint will show me that source is proc.p, not inc.i. The line will be the correct line in inc.i

Attached is a changed rule, which seems to work fine.

Yuri


Syndicate content