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

avoid unitialized access in nasl parsing #252

Merged
merged 3 commits into from
Feb 6, 2019
Merged

avoid unitialized access in nasl parsing #252

merged 3 commits into from
Feb 6, 2019

Conversation

brada4
Copy link
Contributor

@brada4 brada4 commented Jan 24, 2019

No description provided.

@brada4 brada4 requested a review from a team January 24, 2019 05:54
@codecov
Copy link

codecov bot commented Jan 24, 2019

Codecov Report

Merging #252 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #252   +/-   ##
=======================================
  Coverage   31.13%   31.13%           
=======================================
  Files         133      133           
  Lines        2505     2505           
=======================================
  Hits          780      780           
  Misses       1725     1725
Flag Coverage Δ
#documentation 31.13% <0%> (ø) ⬆️
Impacted Files Coverage Δ
nasl/nasl_ssh.c 51.11% <ø> (ø) ⬆️
nasl/nasl_isotime.c 20.68% <0%> (ø) ⬆️

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 5f297b2...f85dbd3. Read the comment docs.

@codecov
Copy link

codecov bot commented Jan 24, 2019

Codecov Report

Merging #252 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #252   +/-   ##
=======================================
  Coverage   31.92%   31.92%           
=======================================
  Files         133      133           
  Lines        2500     2500           
=======================================
  Hits          798      798           
  Misses       1702     1702
Flag Coverage Δ
#documentation 31.92% <0%> (ø) ⬆️
Impacted Files Coverage Δ
nasl/nasl_ssh.c 51.11% <ø> (ø) ⬆️
nasl/nasl_isotime.c 20.68% <0%> (ø) ⬆️

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 cafe658...4aae35b. Read the comment docs.

@brada4 brada4 closed this Jan 29, 2019
@brada4 brada4 reopened this Jan 29, 2019
@brada4
Copy link
Contributor Author

brada4 commented Jan 30, 2019

Sorry, cant fill file with 10 char extra comments.

@kroosec kroosec merged commit ed07eca into greenbone:master Feb 6, 2019
ArnoStiefvater added a commit to ArnoStiefvater/openvas that referenced this pull request Nov 1, 2021
Size of 19 was introduced with
f85dbd3.
PR: greenbone#252
This broke the nasl_isotime_add function.
ArnoStiefvater added a commit to ArnoStiefvater/openvas that referenced this pull request Nov 1, 2021
Size of 19 was introduced with
f85dbd3.
PR: greenbone#252
This broke the nasl_isotime_add function.
y0urself pushed a commit that referenced this pull request Nov 2, 2021
* Add nasl log domain

* Revert `ISOTIME_SIZE` from 19 to 16

Size of 19 was introduced with
f85dbd3.
PR: #252
This broke the nasl_isotime_add function.

* Add zero values at end of iso time

When time in the format like '869-10-02 12:34' or
'869-10-02 12' was given to string2isotime() the
function did not fill up the missing seconds and
minutes with zeroes.

* Fix formatting
mergify bot pushed a commit that referenced this pull request Nov 2, 2021
* Add nasl log domain

* Revert `ISOTIME_SIZE` from 19 to 16

Size of 19 was introduced with
f85dbd3.
PR: #252
This broke the nasl_isotime_add function.

* Add zero values at end of iso time

When time in the format like '869-10-02 12:34' or
'869-10-02 12' was given to string2isotime() the
function did not fill up the missing seconds and
minutes with zeroes.

* Fix formatting

(cherry picked from commit e7f4daf)
mergify bot pushed a commit that referenced this pull request Nov 2, 2021
* Add nasl log domain

* Revert `ISOTIME_SIZE` from 19 to 16

Size of 19 was introduced with
f85dbd3.
PR: #252
This broke the nasl_isotime_add function.

* Add zero values at end of iso time

When time in the format like '869-10-02 12:34' or
'869-10-02 12' was given to string2isotime() the
function did not fill up the missing seconds and
minutes with zeroes.

* Fix formatting

(cherry picked from commit e7f4daf)
y0urself pushed a commit that referenced this pull request Nov 2, 2021
…backport)

* Add nasl log domain

* Revert `ISOTIME_SIZE` from 19 to 16

Size of 19 was introduced with
f85dbd3.
PR: #252
This broke the nasl_isotime_add function.

* Add zero values at end of iso time

When time in the format like '869-10-02 12:34' or
'869-10-02 12' was given to string2isotime() the
function did not fill up the missing seconds and
minutes with zeroes.

* Fix formatting

(cherry picked from commit e7f4daf)

Co-authored-by: ArnoStiefvater <[email protected]>
y0urself pushed a commit that referenced this pull request Nov 2, 2021
…backport)

* Add nasl log domain

* Revert `ISOTIME_SIZE` from 19 to 16

Size of 19 was introduced with
f85dbd3.
PR: #252
This broke the nasl_isotime_add function.

* Add zero values at end of iso time

When time in the format like '869-10-02 12:34' or
'869-10-02 12' was given to string2isotime() the
function did not fill up the missing seconds and
minutes with zeroes.

* Fix formatting

(cherry picked from commit e7f4daf)

Co-authored-by: ArnoStiefvater <[email protected]>
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.

3 participants