Author: joeyh Date: 2005-09-01 20:34:49 +0000 (Thu, 01 Sep 2005) New Revision: 1774 Modified: data/DTSA/dtsa Log: add references to list for cve ids Modified: data/DTSA/dtsa ==================================================================--- data/DTSA/dtsa 2005-09-01 20:27:16 UTC (rev 1773) +++ data/DTSA/dtsa 2005-09-01 20:34:49 UTC (rev 1774) @@ -83,16 +83,17 @@ print "You can publish it with the sndadvisory script" print - construct_dtsa_list(date, dtsa_id, src, vuln_type, testing_fix) + construct_dtsa_list(date, dtsa_id, cve, src, vuln_type, testing_fix) print "Added new DTSA to the list of DTSAs" print # This adds a published DTSA to the list, so that it can be cross-referenced with DSAs and CVE IDs -def construct_dtsa_list(date, dtsa_id, src, vuln_type, testing_fix): +def construct_dtsa_list(date, dtsa_id, cve, src, vuln_type, testing_fix): l_f = open(os.getcwd() + "/list", "a") # What do we need the date for? l_f.write("[01 Jan 1969] " + dtsa_id + " " + src + " - " + vuln_type + "\n") + l_f.write("\t{" + cve "}\n") l_f.write("\t- " + src + " " + testing_fix + "\n") l_f.write("\tTODO: unreleased\n") l_f.close()