Skip to content

SonarCloud Update Issues #364

Description

@ndp-opendap

http_dap/HTTPCache.cc

Sonar rates this as a blocker (not that I agree but...)

Leaking unsterilized input

Lines: 815 - 830

    while ((n = fread(line, 1, 1024, const_cast<FILE *>(src))) > 0) {
        total += fwrite(line, 1, n, dest);

tainted value 'line' is leaking

D4ParserSax2.cc

  • Line 1317 leaking this
  • Line 1329 leaking this

D4StreamUnMarshaller.cc

  • Line 107 leaking this

escaping.cc

  • Line 243 leaking val

getdap4.cc

  • Line 83 leaking msg_line

http_dap/HTTPConnect.cc

  • Line 926 leaking major and minor

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions