Versions Compared

Key

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

...

Code Block
bgColor#ccccff
struct {
    char c;
    float f;
} myData;

if (fscanf(fd, "%c %f\n", &myData.c, &myData.f) != 2) {
    /* Handle error */
}

...

Related Vulnerabilities

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

...