summaryrefslogtreecommitdiff
path: root/lib/header.c
AgeCommit message (Expand)AuthorFilesLines
2012-04-03Validate negated offsets too in headerVerifyInfo()Panu Matilainen1-1/+1
2012-04-03Specifically validate region tag on header importPanu Matilainen1-3/+5
2012-03-23Eliminate broken data end calculation in dataLength()Panu Matilainen1-7/+17
2012-02-21Flag error in tag container for non-extension tag retrievalPanu Matilainen1-0/+3
2011-11-30Implement "fast" flag to headerImport()Panu Matilainen1-8/+17
2011-11-30Add an enhanced interface for unloading, aka exporting, headersPanu Matilainen1-14/+8
2011-11-30Update internal callers to use headerImport() instead of headerLoad()Panu Matilainen1-7/+8
2011-11-30Add an enhanced interface for loading, aka importing, headersPanu Matilainen1-24/+22
2011-11-29Consolidate header alignment calculations to helper functionPanu Matilainen1-41/+25
2011-11-29Optimize string tag length calculations in regionSwab()Panu Matilainen1-2/+4
2011-11-24Fix dribble length calculation on headerLoad()Panu Matilainen1-6/+5
2011-10-21Fix ancient off-by-one at end boundary in string array size calculationPanu Matilainen1-16/+17
2011-10-20Verify the entire region trailer, not just its offset, is within data areaPanu Matilainen1-2/+2
2011-10-04Eliminate redundant local variable in headerLoad()Panu Matilainen1-2/+0
2011-10-03Sanity check region length on header loadPanu Matilainen1-0/+5
2011-09-29Sanity check region offset range on headerLoad()Panu Matilainen1-1/+1
2011-09-29Sanity check region offset in regionSwab()Panu Matilainen1-0/+3
2011-05-30Eliminate obvious dead NULL-assignment at headerLoad() error exitPanu Matilainen1-2/+2
2011-05-29A few more dead NULL-assignment eliminations in low-level header codePanu Matilainen1-5/+4
2011-05-28Eliminate dead NULL-assignments at scope-end in librpm, part IPanu Matilainen1-2/+2
2011-05-24Cosmetics: remove redundant/empty doxygen markup, comments etcPanu Matilainen1-17/+2
2011-05-24Remove unused length return variables on doHeaderUnload()Panu Matilainen1-5/+2
2011-05-24Handle HEADERFLAG_SORTED bit correctly in headerUnsort()Panu Matilainen1-2/+4
2011-05-24Return explicit NULL on errors + frees in header codePanu Matilainen1-4/+4
2011-03-24Clean up headerRead()Jindrich Novy1-16/+14
2011-03-23Avoid timedRead() usageJindrich Novy1-4/+2
2011-03-11Mark htonll() as "const" functionPanu Matilainen1-1/+3
2010-11-17Yet another round of enum-as-function-argument eliminationPanu Matilainen1-3/+3
2010-10-22Switch lowelevel header internals to use rpm_tagtype_t for tag type dataPanu Matilainen1-7/+7
2010-10-22Switch header APIs to use rpmTagVal instead of rpmTagPanu Matilainen1-7/+7
2010-09-21Use proper types for tag and format extension functionsPanu Matilainen1-13/+1
2010-09-21Use actual rpmTags in place of the old HEADER_FOO defines everywherePanu Matilainen1-10/+10
2010-09-21Stop abusing enum typedefs for bitfield typesPanu Matilainen1-2/+4
2010-09-13Eliminate all fooUnlink() functions out of the APIPanu Matilainen1-1/+1
2010-09-13Unify header creation between headerNew() and headerLoad()Panu Matilainen1-14/+15
2010-04-21Lose the useless header refcounting debug junkPanu Matilainen1-12/+4
2010-02-24Permit simple strings to be returned argv-style from headers tooPanu Matilainen1-1/+2
2010-01-05Unconditionally include <netdb.h> where needed instead of system.hPanu Matilainen1-1/+1
2009-12-22Make header struct really opaque outside header.cPanu Matilainen1-0/+26
2009-12-22Move htonll() into header.c and make static, not needed elsewherePanu Matilainen1-0/+9
2009-12-22Move the higher level convenience functions out of header.cPanu Matilainen1-177/+0
2009-09-30Add alternative header iterator methodPanu Matilainen1-9/+18
2009-09-09Eliminate unused goo from findEntry()Panu Matilainen1-11/+2
2009-09-09Handle NULL header in doHeaderUnload()Panu Matilainen1-2/+2
2009-09-09Eliminate pointless incrementPanu Matilainen1-1/+0
2009-09-09Eliminate yet more unused calculations from header code...Panu Matilainen1-5/+1
2009-09-09Eliminate unused pad calculations from header codePanu Matilainen1-8/+0
2009-09-09Eliminate yet another unused variable in header codePanu Matilainen1-2/+0
2009-09-09Eliminate last remaining leftovers from "8/98 bug" workaroundPanu Matilainen1-6/+0
2009-09-09Eliminate unnecessary variable & related goo from regionSwab()Panu Matilainen1-9/+5