The paste from clipboard function with connector configuration can bypass value limitations on XNET connectors. This allows a player to use any integer for values such as speed for xnet channels, allowing for infinite throughput or corrupting the entity or even world file with invalid logic.
Description: Ticking block entity
java.lang.ArithmeticException: / by zero
at mcjty.xnet.apiimpl.items.ItemChannelSettings.tick(ItemChannelSettings.java:162)
at mcjty.xnet.blocks.controller.TileEntityController.TickCentral_TrueITickableUpdate(TileEntityController.java:250)
at com.github.terminatornl.tickcentral.api.TickHub.trueUpdate(TickHub.java:48)
at com.github.terminatornl.laggoggles.Main.redirectUpdate(Main.java:94)
at mcjty.xnet.blocks.controller.TileEntityController.update(TileEntityController.java)
at net.minecraft.world.World.updateEntities(World.java:1838)
at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:279)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:750)
Description of the Bug
The paste from clipboard function with connector configuration can bypass value limitations on XNET connectors. This allows a player to use any integer for values such as speed for xnet channels, allowing for infinite throughput or corrupting the entity or even world file with invalid logic.
Reproduction
paste this code into connector for funny:
Version
SUSY 1.12.5 ( xnet-1.12-1.8.2 )
Relevant log output