调研编号:
FindItemRequest.fromBytes 从 C2S 读取 highlightingEmptyItemStacks / searchInGTPipes / searchConduits;服务端过滤只用包内字段。FindItConfig.SEARCH_IN_GT_PIPES / SEARCH_IN_ENDERIO_CONDUITS 全仓只在客户端构造器读取。
SEC
type/security
p2
TDLM/FindIt
origin/master
296f29ae764cfcb56ae87338766b4d7f65bda21e
src/main/java/com/gtnh/findit/service/itemfinder/FindItemRequest.java:43-48
public void fromBytes(ByteBuf buf) { this.targetStack = ProtoUtils.readItemStack(buf); this.targetFluidStack = StackInfo.getFluid(targetStack); this.highlightingEmptyItemStacks = buf.readBoolean(); this.searchInGTPipes = buf.readBoolean(); this.searchConduits = buf.readBoolean(); }
FindIt
client,server
FindItemRequest.java:43
已修:fromBytes 仍读三个布尔以保持包布局,但赋值改用服务端 FindItConfig。patches/0001,layer commit 652a0f4。
No dependencies set.
The note is not visible to the blocked user.
调研编号:
现象
FindItemRequest.fromBytes 从 C2S 读取 highlightingEmptyItemStacks / searchInGTPipes / searchConduits;服务端过滤只用包内字段。FindItConfig.SEARCH_IN_GT_PIPES / SEARCH_IN_ENDERIO_CONDUITS 全仓只在客户端构造器读取。
危害类与优先级
SEC→ 标签type/securityp2(服务端关管道/导管搜索时可被客户端包打开;半径/冷却仍受服务端约束)证据(生效源码)
TDLM/FindIt+ 分支origin/master+ pin/commit296f29ae764cfcb56ae87338766b4d7f65bda21e(submodule upstream)src/main/java/com/gtnh/findit/service/itemfinder/FindItemRequest.java:43-48触发与复现
FindIt/sidesclient,server/默认配置可达:是(管道/导管默认关)落点
TDLM/FindIt→FindItemRequest.java:43范式
引证
来源
已修:fromBytes 仍读三个布尔以保持包布局,但赋值改用服务端 FindItConfig。patches/0001,layer commit 652a0f4。