Skip to content

Commit

Permalink
feat: removing error in RPM_VENFOR tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tahifahimi committed Feb 16, 2024
1 parent 5823c2d commit 12027de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cve_bin_tool/parsers/rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class Type(IntEnum):
class Tag(IntEnum):
RPMTAG_NAME = 1000
RPMTAG_VERSION = 1001
PRMTAG_VENDOR = 1011
RPMTAG_VENDOR = 1011

TAGS_TO_PARSE = [Tag.RPMTAG_NAME, Tag.RPMTAG_VERSION, Tag.PRMTAG_VENDOR]
TAGS_TO_PARSE = [Tag.RPMTAG_NAME, Tag.RPMTAG_VERSION, Tag.RPMTAG_VENDOR]

RPM_LEAD_MAGIC = b"\xed\xab\xee\xdb"
RPM_HEADER_MAGIC = b"\x8e\xad\xe8"
Expand Down

0 comments on commit 12027de

Please sign in to comment.