Searched refs:headerRec (Results 1 – 2 of 2) sorted by relevance
/dports/security/clamav-lts/clamav-0.103.5/libclamav/ |
H A D | hfsplus.c | 213 hfsHeaderRecord *headerRec, int headerType, const char *name) in hfsplus_readheader() argument 267 memcpy(headerRec, mPtr + sizeof(hfsNodeDescriptor), sizeof(hfsHeaderRecord)); in hfsplus_readheader() 268 headerrecord_to_host(headerRec); in hfsplus_readheader() 269 headerrecord_print(name, headerRec); in hfsplus_readheader() 271 if ((headerRec->nodeSize < minSize) || (headerRec->nodeSize > maxSize)) { in hfsplus_readheader() 275 if (headerRec->nodeSize & (headerRec->nodeSize - 1)) { in hfsplus_readheader() 281 if ((headerRec->maxKeyLength < 6) || (headerRec->maxKeyLength > 516)) { in hfsplus_readheader() 285 if (headerRec->maxKeyLength > (headerRec->nodeSize / 2)) { in hfsplus_readheader() 290 if (headerRec->maxKeyLength != 10) { in hfsplus_readheader()
|
/dports/security/clamav/clamav-0.104.2/libclamav/ |
H A D | hfsplus.c | 213 hfsHeaderRecord *headerRec, int headerType, const char *name) in hfsplus_readheader() argument 267 memcpy(headerRec, mPtr + sizeof(hfsNodeDescriptor), sizeof(hfsHeaderRecord)); in hfsplus_readheader() 268 headerrecord_to_host(headerRec); in hfsplus_readheader() 269 headerrecord_print(name, headerRec); in hfsplus_readheader() 271 if ((headerRec->nodeSize < minSize) || (headerRec->nodeSize > maxSize)) { in hfsplus_readheader() 275 if (headerRec->nodeSize & (headerRec->nodeSize - 1)) { in hfsplus_readheader() 281 if ((headerRec->maxKeyLength < 6) || (headerRec->maxKeyLength > 516)) { in hfsplus_readheader() 285 if (headerRec->maxKeyLength > (headerRec->nodeSize / 2)) { in hfsplus_readheader() 290 if (headerRec->maxKeyLength != 10) { in hfsplus_readheader()
|