MAX_SEGMENT_COUNT value is not checked.
in docs it says:
"There is a limit to how many segments there can be in a stream, and that is 300 segments. This requirement is due to the block gas limit.
If it didn't exist and someone created a stream with an excessively large number of segments, the transaction would revert as it wouldn't fit within a block"
but in SablierV2LockupDynamic.sol there is no check that MAX_SEGMENT_COUNT is less than 300.
The transaction would revert as it wouldn't fit within a block as it is mentioned in docs.
Manual
check that maxSegmentCount is <= 300.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.