Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
int i, toc_index, subcount;
uint64_t result;
sl_nil_t nil;
- struct sl_tag tag, cpx_tag;
+ struct sl_tag tag;
while (count > 0) {
if (offset >= toc_offset) {
}
switch (tag.type) {
- case SQ_TYPE_COMPLEX:
+ case SQ_TYPE_COMPLEX: {
+ struct sl_tag cpx_tag;
+
if (tag.count < 1) {
DEBUG(1,("%s: invalid tag.count: %d\n",
__func__, tag.count));
*/
count--;
break;
+ }
case SQ_TYPE_NULL:
subcount = tag.count;