18 Commits

Author SHA1 Message Date
Ivan Zakharyaschev
6be20da468 headerNVR() replaced by the new header{NVRD,Name{,Version}}() in trivial cases
These are the cases where even the release was not needed (so, the
disttag is not needed, too), or one case where the filename is
contructed (and it doesn't include the disttag).

Now grep -Ee 'headerNVR[^D]' will show the remaining non-trivial
cases, where adapting to disttags may be needed.
2019-02-26 23:16:13 +03:00
Alexey Tourbin
42b139d1eb removed --fileid query selector and Filemd5s rpmdb index (rpm.org) 2011-01-22 17:35:13 +03:00
8440b43b3c lib/query.c (showQueryPackage): Fix potential null dereference in QUERY_FOR_DEFAULT mode 2007-05-18 00:54:19 +00:00
4c4920e2d8 lib/query.c (showQueryPackage): Check all header strings to resize buffer (CVE-2006-5466, RH#212833)
Backported from rpm-4.4.8
2007-05-18 00:33:44 +00:00
e681f13889 lib/query.c: flush query format buffer before listing files (RH#212833, CVE-2006-5466). 2006-11-18 23:17:15 +00:00
7be2f91309 showMatches: Backport --querybynumber looping fix (#9773). 2006-09-16 23:27:20 +00:00
fe838e98f7 rpmQueryVerify: when rpmReadPackageManifest() is disabled, treat RPMRC_BADMAGIC return code from rpmReadPackageHeader() like other read errors (#9433). 2006-09-16 23:00:55 +00:00
112afdc29c rpmQueryVerify[RPMQV_RPM]: parse argument (do glob and other expansions)
only if glob_query is enabled [and disabled it by default].
2002-12-09 23:11:15 +00:00
2b157ba674 rpmQueryVerify: don't parse file argument 2002-12-09 14:30:30 +00:00
b7b3857d3e fixed switch warning 2002-07-20 11:02:13 +00:00
c5185845ec reverted previous changes: no need 2002-07-20 10:12:10 +00:00
accfd001d5 fixed switch warning 2002-07-08 14:01:22 +00:00
12cb7941b3 added optional RPMTAG_ARG support 2002-07-08 11:50:55 +00:00
349f25715c updated code to snapshot 2002-04-19 2002-04-22 17:06:31 +00:00
14b947cb6c updated code to snapshot 2002-03-27 2002-03-30 16:02:41 +00:00
c0497676a6 sync with rpm4 branch 2002-03-25 23:19:22 +00:00
dee952c2f8 sync with rpm4 branch: include local headers 2002-03-25 22:02:39 +00:00
82a4763c66 Initial revision 2002-03-25 20:16:26 +00:00