There is an init value (https://github.com/LibreDWG/libredwg/blob/master/src/decode_r11.c#L708):
```
unsigned num_sections = 5;
```

But not adding sections like (https://github.com/LibreDWG/libredwg/blob/master/src/dwg.c#L3051):
```
if (!dwg->header.numsections)
        dwg->header.numsections = 5;
      // HEADER.numsections is always 5 even if it needs to be 8 or 10,
      // probably because the additional sections are embedded in HEADER_VARS.
      // 5 tables + header + block. VIEW = 6
      if (dwg->header.numheader_vars > 158) // r10
        num_sections += 3;
      if (dwg->header.numheader_vars > 160) // r11
        num_sections += 2;
      // and there is one hole we need to skip over.
      num_sections += 1;
}
```

The actual situation is, that sections are not decoding.
Fix num_sections in decode_r11.c
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Fix num_sections in decode_r11.c
Issue date:

--- start body ---
There is an init value (https://github.com/LibreDWG/libredwg/blob/master/src/decode_r11.c#L708):
```
unsigned num_sections = 5;
```

But not adding sections like (https://github.com/LibreDWG/libredwg/blob/master/src/dwg.c#L3051):
```
if (!dwg->header.numsections)
        dwg->header.numsections = 5;
      // HEADER.numsections is always 5 even if it needs to be 8 or 10,
      // probably because the additional sections are embedded in HEADER_VARS.
      // 5 tables + header + block. VIEW = 6
      if (dwg->header.numheader_vars > 158) // r10
        num_sections += 3;
      if (dwg->header.numheader_vars > 160) // r11
        num_sections += 2;
      // and there is one hole we need to skip over.
      num_sections += 1;
}
```

The actual situation is, that sections are not decoding.
--- end body ---
