mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-04-30 20:24:32 +02:00
documentation v1.3.2
This commit is contained in:
@@ -76,8 +76,8 @@
|
||||
<a class="jxr_linenumber" name="L68" href="#L68">68</a> <strong class="jxr_keyword">final</strong> File file2;
|
||||
<a class="jxr_linenumber" name="L69" href="#L69">69</a>
|
||||
<a class="jxr_linenumber" name="L70" href="#L70">70</a> <strong class="jxr_keyword">try</strong> {
|
||||
<a class="jxr_linenumber" name="L71" href="#L71">71</a> file1 = File.createTempFile(<span class="jxr_string">"cve"</span> + nvdCveInfo.getId() + <span class="jxr_string">"_"</span>, <span class="jxr_string">".xml"</span>, Settings.getTempDirectory());
|
||||
<a class="jxr_linenumber" name="L72" href="#L72">72</a> file2 = File.createTempFile(<span class="jxr_string">"cve_1_2_"</span> + nvdCveInfo.getId() + <span class="jxr_string">"_"</span>, <span class="jxr_string">".xml"</span>, Settings.getTempDirectory());
|
||||
<a class="jxr_linenumber" name="L71" href="#L71">71</a> file1 = File.createTempFile(<span class="jxr_string">"cve"</span> + nvdCveInfo.getId() + '_', <span class="jxr_string">".xml"</span>, Settings.getTempDirectory());
|
||||
<a class="jxr_linenumber" name="L72" href="#L72">72</a> file2 = File.createTempFile(<span class="jxr_string">"cve_1_2_"</span> + nvdCveInfo.getId() + '_', <span class="jxr_string">".xml"</span>, Settings.getTempDirectory());
|
||||
<a class="jxr_linenumber" name="L73" href="#L73">73</a> } <strong class="jxr_keyword">catch</strong> (IOException ex) {
|
||||
<a class="jxr_linenumber" name="L74" href="#L74">74</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../../org/owasp/dependencycheck/data/update/exception/UpdateException.html">UpdateException</a>(<span class="jxr_string">"Unable to create temporary files"</span>, ex);
|
||||
<a class="jxr_linenumber" name="L75" href="#L75">75</a> }
|
||||
|
||||
@@ -122,10 +122,10 @@
|
||||
<a class="jxr_linenumber" name="L114" href="#L114">114</a> <em class="jxr_comment"> in the nvd cve 2.0. */</em>
|
||||
<a class="jxr_linenumber" name="L115" href="#L115">115</a> String cpe = <span class="jxr_string">"cpe:/a:"</span> + vendor + <span class="jxr_string">":"</span> + product;
|
||||
<a class="jxr_linenumber" name="L116" href="#L116">116</a> <strong class="jxr_keyword">if</strong> (num != <strong class="jxr_keyword">null</strong>) {
|
||||
<a class="jxr_linenumber" name="L117" href="#L117">117</a> cpe += <span class="jxr_string">":"</span> + num;
|
||||
<a class="jxr_linenumber" name="L117" href="#L117">117</a> cpe += ':' + num;
|
||||
<a class="jxr_linenumber" name="L118" href="#L118">118</a> }
|
||||
<a class="jxr_linenumber" name="L119" href="#L119">119</a> <strong class="jxr_keyword">if</strong> (edition != <strong class="jxr_keyword">null</strong>) {
|
||||
<a class="jxr_linenumber" name="L120" href="#L120">120</a> cpe += <span class="jxr_string">":"</span> + edition;
|
||||
<a class="jxr_linenumber" name="L120" href="#L120">120</a> cpe += ':' + edition;
|
||||
<a class="jxr_linenumber" name="L121" href="#L121">121</a> }
|
||||
<a class="jxr_linenumber" name="L122" href="#L122">122</a> <strong class="jxr_keyword">final</strong> <a href="../../../../../../org/owasp/dependencycheck/dependency/VulnerableSoftware.html">VulnerableSoftware</a> vs = <strong class="jxr_keyword">new</strong> <a href="../../../../../../org/owasp/dependencycheck/dependency/VulnerableSoftware.html">VulnerableSoftware</a>();
|
||||
<a class="jxr_linenumber" name="L123" href="#L123">123</a> vs.setCpe(cpe);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<title>Dependency-Check 1.3.1 Reference Package org.owasp.dependencycheck.data.update.nvd</title>
|
||||
<title>Dependency-Check 1.3.2 Reference Package org.owasp.dependencycheck.data.update.nvd</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<title>Dependency-Check 1.3.1 Reference Package org.owasp.dependencycheck.data.update.nvd</title>
|
||||
<title>Dependency-Check 1.3.2 Reference Package org.owasp.dependencycheck.data.update.nvd</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user