Hi, i find 2 out-of-memory errors in swftocxx . I saved all my test files [here](https://github.com/WorldExecute/files/tree/main/libming/swftocxx/Out-of-memory).

## Bug Description
I apply ASan (Address Sanitizer ) to check for address errors and the error report is as follows.
```
test_1:
header indicates a filesize of 117920368 but filesize is 880
 CharacterEndFlag in DefineButton2 != 0parseSWF_BUTTONCONDACTION: expected actionEnd flag
 Stream out of sync after parse of blocktype 34 (SWF_DEFINEBUTTON2). 513 but expecting 55.
=================================================================
==228662==ERROR: AddressSanitizer: allocator is out of memory trying to allocate 0x46008004 bytes
==228662==WARNING: failed to fork (errno 12)
==228662==WARNING: failed to fork (errno 12)
==228662==WARNING: failed to fork (errno 12)
==228662==WARNING: failed to fork (errno 12)
==228662==WARNING: failed to fork (errno 12)
==228662==WARNING: Failed to use and restart external symbolizer!
    #0 0x494bcd  (./libming/install-asan/bin/swftocxx+0x494bcd)
    #1 0x4fdc4e  (./libming/install-asan/bin/swftocxx+0x4fdc4e)
    #2 0x4fa943  (./libming/install-asan/bin/swftocxx+0x4fa943)

==228662==HINT: if you don't care about these errors you may set allocator_may_return_null=1
SUMMARY: AddressSanitizer: out-of-memory (./libming/install-asan/bin/swftocxx+0x494bcd) 
==228662==ABORTING

test_2:
header indicates a filesize of 117920647 but filesize is 1097
Failed to find branch target!!!
Looking for: 32531

Failed to find branch target!!!
Looking for: 32531

Failed to find branch target!!!
Looking for: 32539

parseSWF_BUTTONCONDACTION: expected actionEnd flag
 Stream out of sync after parse of blocktype 34 (SWF_DEFINEBUTTON2). 682 but expecting 55.
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
=================================================================
==228380==ERROR: AddressSanitizer: allocator is out of memory trying to allocate 0xe6b9c30 bytes
==228380==WARNING: failed to fork (errno 12)
==228380==WARNING: failed to fork (errno 12)
==228380==WARNING: failed to fork (errno 12)
==228380==WARNING: failed to fork (errno 12)
==228380==WARNING: failed to fork (errno 12)
==228380==WARNING: Failed to use and restart external symbolizer!
    #0 0x494d42  (./libming/install-asan/bin/swftocxx+0x494d42)
    #1 0x4ecd87  (./libming/install-asan/bin/swftocxx+0x4ecd87)

==228380==HINT: if you don't care about these errors you may set allocator_may_return_null=1
SUMMARY: AddressSanitizer: out-of-memory (./libming/install-asan/bin/swftocxx+0x494d42) 
==228380==ABORTING
```
## Steps to Reproduce
1. Download the libming source code with the official link and build it with ASan (-fsanitize=address)
2. Executing swftocxx with the provided input files
out-of-memory in swftocxx (Version 0.4.9)
This is a GitHub Issue
repo:libming
owner:libming
Title : out-of-memory in swftocxx (Version 0.4.9)
Issue date:

--- start body ---
Hi, i find 2 out-of-memory errors in swftocxx . I saved all my test files [here](https://github.com/WorldExecute/files/tree/main/libming/swftocxx/Out-of-memory).

## Bug Description
I apply ASan (Address Sanitizer ) to check for address errors and the error report is as follows.
```
test_1:
header indicates a filesize of 117920368 but filesize is 880
 CharacterEndFlag in DefineButton2 != 0parseSWF_BUTTONCONDACTION: expected actionEnd flag
 Stream out of sync after parse of blocktype 34 (SWF_DEFINEBUTTON2). 513 but expecting 55.
=================================================================
==228662==ERROR: AddressSanitizer: allocator is out of memory trying to allocate 0x46008004 bytes
==228662==WARNING: failed to fork (errno 12)
==228662==WARNING: failed to fork (errno 12)
==228662==WARNING: failed to fork (errno 12)
==228662==WARNING: failed to fork (errno 12)
==228662==WARNING: failed to fork (errno 12)
==228662==WARNING: Failed to use and restart external symbolizer!
    #0 0x494bcd  (./libming/install-asan/bin/swftocxx+0x494bcd)
    #1 0x4fdc4e  (./libming/install-asan/bin/swftocxx+0x4fdc4e)
    #2 0x4fa943  (./libming/install-asan/bin/swftocxx+0x4fa943)

==228662==HINT: if you don't care about these errors you may set allocator_may_return_null=1
SUMMARY: AddressSanitizer: out-of-memory (./libming/install-asan/bin/swftocxx+0x494bcd) 
==228662==ABORTING

test_2:
header indicates a filesize of 117920647 but filesize is 1097
Failed to find branch target!!!
Looking for: 32531

Failed to find branch target!!!
Looking for: 32531

Failed to find branch target!!!
Looking for: 32539

parseSWF_BUTTONCONDACTION: expected actionEnd flag
 Stream out of sync after parse of blocktype 34 (SWF_DEFINEBUTTON2). 682 but expecting 55.
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
  Can't get int for type: 10
=================================================================
==228380==ERROR: AddressSanitizer: allocator is out of memory trying to allocate 0xe6b9c30 bytes
==228380==WARNING: failed to fork (errno 12)
==228380==WARNING: failed to fork (errno 12)
==228380==WARNING: failed to fork (errno 12)
==228380==WARNING: failed to fork (errno 12)
==228380==WARNING: failed to fork (errno 12)
==228380==WARNING: Failed to use and restart external symbolizer!
    #0 0x494d42  (./libming/install-asan/bin/swftocxx+0x494d42)
    #1 0x4ecd87  (./libming/install-asan/bin/swftocxx+0x4ecd87)

==228380==HINT: if you don't care about these errors you may set allocator_may_return_null=1
SUMMARY: AddressSanitizer: out-of-memory (./libming/install-asan/bin/swftocxx+0x494d42) 
==228380==ABORTING
```
## Steps to Reproduce
1. Download the libming source code with the official link and build it with ASan (-fsanitize=address)
2. Executing swftocxx with the provided input files
--- end body ---
