[Oval-devel] List of bugged dsa
Javier Fernández-Sanguino Peña
jfs at computer.org
Thu Jul 12 09:38:25 UTC 2007
On Thu, Jul 12, 2007 at 12:28:21PM +0500, Pavel Vinogradov wrote:
> During my work on validation generated definitions i found some bad or
> irregular formated dsa files.
>
> I include list of this files and possible solutions and open for
> suggestion, comments and other feedback about this files.
First of all, I wouldn't bother with DSAs that are over 3 years old
(DSA 119, DSA 117...)
> BuggedDSA:
> This file contain list of dsa files with bad formating which currently
> confuse parseDsa2Oval script:
>
> Which: Old dsa in format of yyyymmdd[n].data
> Reason: Wrong filename format
> Solution: Ignoring this dsa???
Yes, ignore this.
>
> Which: dsa-0[999].data
> Reason: Number with leading zero.
> Solution: trim leading zero
Correct.
> Which: dsa-119.data, dsa-978.data, dsa-205.data, dsa-1236.data
> Reason: Empty packages part
> Solution: generator must more stricly checks input data
Skip those (but warn when the script is run), if there are no packages part
they have been superceded by other DSAs.
> Which: dsa-117.data, dsa-1116.data, dsa-1329.data
> Reason: Bad release string (not contain release number, or nonstandart
> format)
> Solution: Rewrite regexp or ???
Forget about DSA-117. As for the other,s I've fixed 2006/dsa-1116.data 2007/dsa-1329.data
to provide the proper data and be more like others. I cannot commit right now
(CVS down) but will fix soon.
> Which: dsa-288.data
> Reason: Unknown
> Solution:
This one is also too old. But the DATA files seems valid...
Javier
More information about the Oval-devel
mailing list