Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by sciSpider (sch jbop) (X_X)@==(Q_Q)@

...

At compile time, string literals are used to create an array of static storage duration and sufficient length to contain the character sequence and a nullNULL-termination character. It is unspecified whether these arrays are distinct. The behavior is undefined if a program attempts to modify string literals but frequently results in an access violation, as string literals are typically stored in read-only memory.

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

STR30-C

1 ( low )

3 ( likely ) 3 (

low )

P9

L2

Automated Detection

The LDRA tool suite V 7.6.0 is able to detect violations of this rule.

Related Vulnerabilities

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

...