Searched refs:itemlen (Results 1 – 1 of 1) sorted by relevance
554 size_t itemlen; in ReadSectionsFromBuffer() local584 itemlen = (lh << 8) | ll; in ReadSectionsFromBuffer()586 if (itemlen < 2) { in ReadSectionsFromBuffer()591 mSections[mSectionsRead].Size = itemlen; in ReadSectionsFromBuffer()593 Data = (unsigned char *)malloc(itemlen); in ReadSectionsFromBuffer()604 if (pos+itemlen-2 > buffer_size) { in ReadSectionsFromBuffer()609 memcpy(Data+2, buffer+pos, itemlen-2); // Read the whole section. in ReadSectionsFromBuffer()610 pos += itemlen-2; in ReadSectionsFromBuffer()