You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixessociomantic-tsunami#2.
- Use `VoidBufferAsArrayOf!(cstring)` instead of `cast(cstring[]*)`, which
is dangerous because the array length is set after the cast.
- Set the array length once instead of appending incrementally.
- Use `parseBody` to parse the value to enforce it is the last field in the
message payload.
Fixes#2.
- Use `VoidBufferAsArrayOf!(cstring)` instead of `cast(cstring[]*)`, which
is dangerous because the array length is set after the cast.
- Set the array length once instead of appending incrementally.
- Use `parseBody` to parse the value to enforce it is the last field in the
message payload.
https://github.com/sociomantic-tsunami/dmqproto/blob/v13.x.x/src/dmqproto/node/neo/request/Push.d#L57-L64 appears to be dancing in undefined behaviour territory. (See https://github.com/gavin-norman-sociomantic/swarm-tsunami/blob/3428d7cca0171ce4f802da6fbed52606a071295c/src/swarm/neo/util/AcquiredResources.d#L71-L100.)
The text was updated successfully, but these errors were encountered: