BeamMW / beam

Beam: Scalable Confidential Cryptocurrency. Leading the way to Confidential DeFi
https://beam.mw
Apache License 2.0
700 stars 205 forks source link

Wallet API crashes when passing a long string (at least 20K symbols) as shader argument #1891

Closed nikkitashl closed 2 years ago

nikkitashl commented 2 years ago

Bug title Wallet API crashes when passing a long string (at least 20K symbols) as shader argument.

Bug description Wallet API crashes when passing a shader argument as string with length at least 20K symbols.

To Reproduce Steps to reproduce the behaviour:

  1. Run wallet-api-masternet.
  2. Pass as shader argument string of form data=00...00 with at least 20-30K zeros.

Current behaviour Wallet API crashes.

Expected behaviour Wallet API parses arguments and transfer it to the shader.

Platform and build

nikkitashl commented 2 years ago

Fixed by https://github.com/BeamMW/beam/pull/1890, I think