Example: [BLANK.DWG.gz](https://github.com/LibreDWG/libredwg/files/8088649/BLANK.DWG.gz)

Actual dump:
```
entities 0x2e5 - 0x2e5
blocks   0x447 (0x0) - 0x0 (0x80000000)
ptr table BLOCK    [ 1]: size:37   nr:-2146500608 (0x2e5-0x822b02e5)
ptr table LAYER    [ 2]: size:37   nr:-2146500607 (0x2e5-0x822b030a)
ptr table STYLE    [ 3]: size:130  nr:-2146500607 (0x30a-0x79e038c)
ptr table LTYPE    [ 5]: size:187  nr:-2146500607 (0x38c-0x8af50447)
ptr table VIEW     [ 6]: size:91   nr:-2146500608 (0x447-0x85550447)
```

This is bad - second address is bad need to be 0x2e5 etc.
Binary data are: `00 80 25 00` - in this case is only `25 00`
When i am decoding i have somethig like this:
```
...
[.] entities_start = 741
[.] entities_end = 741
[.] blocks_start = 1095
[.] blocks_size = 0
[.] blocks_end = 0
[.] unknown4b = 00 00
[.] unknown4c = 00 80
[.] table_block_item_size = 37
[.] table_block_items = 0
[.] unknown4e = 0f 80
[.] table_block_begin = 741
[.] unknown4f = 00 00
[.] table_layer_item_size = 37
[.] table_layer_items = 1
[.] unknown4g = 0f 80
[.] table_layer_begin = 741
[.] unknown4h = 00 00
[.] table_style_item_size = 130
[.] table_style_items = 1
[.] unknown4i = 0f 80
[.] table_style_begin = 778
[.] unknown4j = 00 00
[.] table_linetype_item_size = 187
[.] table_linetype_items = 1
[.] unknown4k = 0f 80
[.] table_linetype_begin = 908
[.] unknown4l = 00 00
[.] table_view_item_size = 91
[.] table_view_items = 0
[.] unknown4m = 0f 80
[.] table_view_begin = 1095
...
```
When you looking there are repeating `00 80`, `0f 80`.
in some DWG versions are `00 80`, `07 80`, `08 80`, `09 80`, `0a 80` and `0b 80` (last between table_view_items and table_view_begin)

In greater DWG version is probably backward compatible size parser or some different system.

I tested patch:
```
@@ -265,8 +265,10 @@ decode_preR13_section_ptr (const char *restrict name, Dwg_Section_Type_r11 id,
 {
   Dwg_Section *tbl = &dwg->header.section[id];
   tbl->size = bit_read_RS (dat);
-  tbl->number = bit_read_RL (dat);
-  tbl->address = bit_read_RL (dat);
+  tbl->number = bit_read_RS (dat);
+  dat->byte += 2; // ?? 80
+  tbl->address = bit_read_RS (dat);
+  dat->byte += 2; // 00 00 || ff ff
   strncpy (tbl->name, name, 63);
   tbl->name [63] = '\0';
   LOG_TRACE ("ptr table %-8s [%2d]: size:%-4u nr:%-2ld (0x%lx-0x%lx)\n",
```
but i don't think that is enough.
Issue with section item number
This is a GitHub Issue
repo:libredwg
owner:LibreDWG
Title : Issue with section item number
Issue date:

--- start body ---
Example: [BLANK.DWG.gz](https://github.com/LibreDWG/libredwg/files/8088649/BLANK.DWG.gz)

Actual dump:
```
entities 0x2e5 - 0x2e5
blocks   0x447 (0x0) - 0x0 (0x80000000)
ptr table BLOCK    [ 1]: size:37   nr:-2146500608 (0x2e5-0x822b02e5)
ptr table LAYER    [ 2]: size:37   nr:-2146500607 (0x2e5-0x822b030a)
ptr table STYLE    [ 3]: size:130  nr:-2146500607 (0x30a-0x79e038c)
ptr table LTYPE    [ 5]: size:187  nr:-2146500607 (0x38c-0x8af50447)
ptr table VIEW     [ 6]: size:91   nr:-2146500608 (0x447-0x85550447)
```

This is bad - second address is bad need to be 0x2e5 etc.
Binary data are: `00 80 25 00` - in this case is only `25 00`
When i am decoding i have somethig like this:
```
...
[.] entities_start = 741
[.] entities_end = 741
[.] blocks_start = 1095
[.] blocks_size = 0
[.] blocks_end = 0
[.] unknown4b = 00 00
[.] unknown4c = 00 80
[.] table_block_item_size = 37
[.] table_block_items = 0
[.] unknown4e = 0f 80
[.] table_block_begin = 741
[.] unknown4f = 00 00
[.] table_layer_item_size = 37
[.] table_layer_items = 1
[.] unknown4g = 0f 80
[.] table_layer_begin = 741
[.] unknown4h = 00 00
[.] table_style_item_size = 130
[.] table_style_items = 1
[.] unknown4i = 0f 80
[.] table_style_begin = 778
[.] unknown4j = 00 00
[.] table_linetype_item_size = 187
[.] table_linetype_items = 1
[.] unknown4k = 0f 80
[.] table_linetype_begin = 908
[.] unknown4l = 00 00
[.] table_view_item_size = 91
[.] table_view_items = 0
[.] unknown4m = 0f 80
[.] table_view_begin = 1095
...
```
When you looking there are repeating `00 80`, `0f 80`.
in some DWG versions are `00 80`, `07 80`, `08 80`, `09 80`, `0a 80` and `0b 80` (last between table_view_items and table_view_begin)

In greater DWG version is probably backward compatible size parser or some different system.

I tested patch:
```
@@ -265,8 +265,10 @@ decode_preR13_section_ptr (const char *restrict name, Dwg_Section_Type_r11 id,
 {
   Dwg_Section *tbl = &dwg->header.section[id];
   tbl->size = bit_read_RS (dat);
-  tbl->number = bit_read_RL (dat);
-  tbl->address = bit_read_RL (dat);
+  tbl->number = bit_read_RS (dat);
+  dat->byte += 2; // ?? 80
+  tbl->address = bit_read_RS (dat);
+  dat->byte += 2; // 00 00 || ff ff
   strncpy (tbl->name, name, 63);
   tbl->name [63] = '\0';
   LOG_TRACE ("ptr table %-8s [%2d]: size:%-4u nr:%-2ld (0x%lx-0x%lx)\n",
```
but i don't think that is enough.
--- end body ---

None