Skip to content

[Medium] Race Condition in compound-protocol #294

Description

@admin1douyin

Bug Report

Type: Race Condition
Severity: Medium
File: src/concurrent/compound-protocol.go:189

Description

多个线程同时访问共享变量时缺乏同步机制。

Impact

可能导致数据不一致或程序崩溃。

Proposed Fix

使用mutex保护共享变量。


Automated Bug Report - 2026-02-05 16:52:13
Bug Bounty Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions