<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
I'm unable to build with the latest upstream changes. I've isolated
the problem to this commit:<br>
<br>
3e36ab8dadab36bb286dc6d750ac6c4934f50d04 cve-check: ensure all known
CVEs are in the report<br>
<br>
The error is:<br>
0272: placeholder = ",".join("?" * len(cves))<br>
0273: query = "SELECT * FROM NVD WHERE id IN (%s)" %
placeholder<br>
0274: conn = sqlite3.connect(db_file)<br>
0275: cur = conn.cursor()<br>
*** 0276: for row in cur.execute(query, tuple(cves)):<br>
0277: cve_data[row[0]] = {}<br>
0278: cve_data[row[0]]["summary"] = row[1]<br>
0279: cve_data[row[0]]["scorev2"] = row[2]<br>
0280: cve_data[row[0]]["scorev3"] = row[3]<br>
Exception: sqlite3.OperationalError: too many SQL variables<br>
<br>
When I revert this change I am able to build.<br>
<br>
Has anyone else seen this, and, if so, created a solution?<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<font color="#1F497D"><font face="Century Gothic">Johnathan Mantey<br>
<small>Senior Software Engineer</small><br>
<big><font color="#555555"><small><b>azad te</b><b>chnology
partners</b></small><br>
<small><font color="#1F497D"><small>Contributing to
Technology Innovation since 1992</small></font><small><br>
<font color="#1F497D">Phone: (503) 712-6764<br>
Email: <a href="mailto:johnathanx.mantey@intel.com">johnathanx.mantey@intel.com</a></font></small><br>
<br>
</small></font></big></font></font> </div>
</body>
</html>