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

New xrefs data model #225

Merged
merged 33 commits into from
May 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
ee27cb0
Introduce generic vtref struct and use for xref.
janowagner Apr 27, 2019
faec053
Handle BID also via new ref struct.
janowagner Apr 28, 2019
f372e62
Handle CVE also via new refs.
janowagner Apr 28, 2019
515ac3b
Add vtref protos to header file.
janowagner Apr 28, 2019
8bcb429
Add nvti_add_refs_from_csv() to API for bulk refs
janowagner Apr 29, 2019
72bfb37
Don't consider NOBID, NOCVE and NOXREF anymore.
janowagner Apr 29, 2019
23766ee
Call nvti_add_refs_from_csv for bid and cve.
janowagner Apr 29, 2019
374adff
Use nvti_add_refs_from_csv instead of nvti_set_cve.
janowagner May 2, 2019
700cad7
Remove now unused functions for bid and cve.
janowagner May 3, 2019
eb48d0f
New nvti_ref() replaces nvt_bid() and nvti_cve().
janowagner May 4, 2019
ade3307
Extend nvti_refs() to replace nvti_xref().
janowagner May 4, 2019
e834a1c
Extend nvti_add_refs_from_csvs.
janowagner May 4, 2019
ff3831b
Rename nvti_add_refs_from_csv to nvti_add_refs.
janowagner May 4, 2019
2d4df60
Fix memory management bug.
janowagner May 5, 2019
46824a2
nvti_refs(): Fixed bugs and made more robust.
janowagner May 5, 2019
17f4eaa
Change CSV syntax by adding a space.
janowagner May 5, 2019
4ef1e3f
Add vtref_*(), and nvti_ref*() functions.
janowagner May 7, 2019
8ea2c51
Turn "while" into "for" loop.
janowagner May 14, 2019
9adc3cb
Move vtref struct out of public interface.
janowagner May 14, 2019
d42fe16
Rename nvti_add_ref() to nvti_add_vtref().
janowagner May 14, 2019
3cbc36c
Drop uncessary NULL checks.
janowagner May 14, 2019
6b75dde
Unload doc-strings.
janowagner May 14, 2019
05aecb0
Use case insensitive search for vtref types.
janowagner May 14, 2019
2a45e7d
Remove trailing white space.
janowagner May 14, 2019
b765fab
Improved doc string for nvti_refs().
janowagner May 14, 2019
20f0a3e
Move declaration into block where used.
janowagner May 14, 2019
f26dbe9
Iinitialising variables after the declaration.
janowagner May 14, 2019
911003b
Removed unneeded 0-check.
janowagner May 14, 2019
fd356c5
Do split only once per call.
janowagner May 14, 2019
092430a
Constify where return object should not be free'd.
janowagner May 14, 2019
2b4b969
Changed function names for consistency.
janowagner May 14, 2019
91a2e83
Removed unneeded assignment.
janowagner May 15, 2019
60af703
Formatting fixes.
janowagner May 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading