-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
orderer crashes down after receiving fuzzed channel tx. #286
Comments
I remember that to create a channel you need to sign the transaction by enough administrators in the network. In any case, can you check the same problem on the official Fabric with Raft? |
Sorry for the delayed response. In the oficial Fabric with Raft, there are a locking mechanism in function 'CreateChain' and a exsiting name check in function 'newChain' to prevent this problem.
Maybe similar mechnism should be added here? |
That's why I asked you to check in Fabric... I know this bug. Do you want to push a fix? |
System information:
version: fabric 2.3
OS: ubuntu 20.04
Experiments setup:
Using first-network in https://github.com/SmartBFT-Go/fabric-samples. Repeatedly sending fuzzed channel tx with the same Channel name.
Expected behavior:
Orderers run as usual.
Actual behaviour:
orderers crash down, and can not be recovered.
Bug location:
https://github.com/SmartBFT-Go/fabric/blob/release-2.3-bft/orderer/common/multichannel/registrar.go
In line 529, should not panic directly.
log info:
The text was updated successfully, but these errors were encountered: