Skip to content

Fix WireLib.ClientError overflow#3553

Merged
Astralcircle merged 1 commit intomasterfrom
Astralcircle-patch-2
Mar 10, 2026
Merged

Fix WireLib.ClientError overflow#3553
Astralcircle merged 1 commit intomasterfrom
Astralcircle-patch-2

Conversation

@Astralcircle
Copy link
Contributor

Fixes:

@name 
@inputs 
@outputs 
@persist 
@trigger none 
@strict

error("g":repeat(100000))
[Wiremod Canary] Trying to send an overflowed net message!
    1. ClientError - lua/wire/wireshared.lua:310
        2. Error - lua/entities/gmod_wire_expression2/init.lua:330
            3. Execute - lua/entities/gmod_wire_expression2/init.lua:153
                4. Setup - lua/entities/gmod_wire_expression2/init.lua:569
                    5. unknown - lua/wire/stools/expression2.lua:400
                        6. xpcall - [C]:-1
                            7. Remove - lua/autorun/netstream.lua:279
                                8. Read - lua/autorun/netstream.lua:258
                                    9. Read - lua/autorun/netstream.lua:131
                                        10. func - lua/autorun/netstream.lua:385
                                            11. unknown - lua/includes/extensions/net.lua:34

Fixes:
```
@name 
@inputs 
@outputs 
@persist 
@trigger none 
@strict

error("g":repeat(100000))
```
```
[Wiremod Canary] Trying to send an overflowed net message!
    1. ClientError - lua/wire/wireshared.lua:310
        2. Error - lua/entities/gmod_wire_expression2/init.lua:330
            3. Execute - lua/entities/gmod_wire_expression2/init.lua:153
                4. Setup - lua/entities/gmod_wire_expression2/init.lua:569
                    5. unknown - lua/wire/stools/expression2.lua:400
                        6. xpcall - [C]:-1
                            7. Remove - lua/autorun/netstream.lua:279
                                8. Read - lua/autorun/netstream.lua:258
                                    9. Read - lua/autorun/netstream.lua:131
                                        10. func - lua/autorun/netstream.lua:385
                                            11. unknown - lua/includes/extensions/net.lua:34
```
@Astralcircle Astralcircle merged commit b84364c into master Mar 10, 2026
1 check passed
@Astralcircle Astralcircle deleted the Astralcircle-patch-2 branch March 10, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant