Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the authentication used by the Start Task alert #338

Merged
merged 3 commits into from Jan 22, 2019

Conversation

mattmundell
Copy link
Contributor

No description provided.

The static was added in 680e132 'Mark
static functions and variables', but this should not be static because
it refers to the variable defined in manage.c.

This was preventing the Start Task alert from running.
In particular this resets the username, otherwise AUTHENTICATE in
internally forked GMP connections will append the username to the
existing username.

This is not actually used by the forked process as the authentication
always succeeds, but at least the username is right now.
@codecov
Copy link

codecov bot commented Jan 21, 2019

Codecov Report

Merging #338 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #338   +/-   ##
======================================
  Coverage    93.3%   93.3%           
======================================
  Files          58      58           
  Lines        5499    5499           
======================================
  Hits         5131    5131           
  Misses        368     368
Flag Coverage Δ
#documentation 93.3% <100%> (ø) ⬆️
Impacted Files Coverage Δ
src/manage_sql.c 99.85% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7335bb8...676e2eb. Read the comment docs.

@codecov
Copy link

codecov bot commented Jan 21, 2019

Codecov Report

Merging #338 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #338   +/-   ##
=======================================
  Coverage   93.27%   93.27%           
=======================================
  Files          58       58           
  Lines        5503     5503           
=======================================
  Hits         5133     5133           
  Misses        370      370
Flag Coverage Δ
#documentation 93.27% <100%> (ø) ⬆️
Impacted Files Coverage Δ
src/manage_sql.c 99.85% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a0b7592...c84aff7. Read the comment docs.

@timopollmeier timopollmeier merged commit 6e48194 into greenbone:master Jan 22, 2019
@mattmundell mattmundell deleted the start-task-alert-auth branch January 29, 2019 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants