-
Notifications
You must be signed in to change notification settings - Fork 711
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
endure that direct bracket accesses are always safe (eg. buffer[i+3:]
will panic if i is too big)
#4556
Comments
buffer[i+3:]
will panic if i is too big) @damipbuffer[i+3:]
will panic if i is too big)
Massa modelsslot.rs
datastore.rs
denunciation.rsL.964: FIXED - no more indexing block.rsL.155,258,274,284: N/A (doctest) block_header.rsL.178,338,351,361: N/A (doctest) clique.rsL.163,164: Not array indexing block_id.rsL.70: Array indexing with index 0 for &[u8; 32] version.rsL.221,222,223,232,235: Array indexing but length previously checked operation.rsL.261,270: Ok (Slicing &[u8; 32] with slice(0, 17)) serialization.rsL.38,48: Ok (leading_zeros skip) ledger.rsL.265: Not array indexing address.rsL.343: Array indexing with index 0 for &[u8; 32] |
Massa async poolpool.rsL.375: Ok (length checked) |
Massa bootstraplib.rsL.93: Ok (length checked) bindings/client.rsL.210: Ok (type length in function argument type) bindings/server.rsL.301, 312: TODO (Should we check for leader_buf size?, expect ?) bindings.rsL.35: Ok (length checked) |
Massa consensus exportsexport_active_block.rsL.152, 168, 178, : N/A (doctest) controller_trait.rsL.38: Ok (function argument type) |
Massa consensus workercontroller.rsL.87: Ok (function argument type) state/prune.rsL.130: Ok (closure for_each index) state/graph.rsL.111: Ok (assume max_cliques len always >= 1) state/blocks_state.rsL.131: Ok (vec definition) state/clique_computation.rsNot checked state/process.rsL.513: Ok (as long as self.compute_fitness_find_blockclique returns an ok index) |
Massa db workermassa_db.rsL.653, 654, 657: Ok (length checked) |
Massa executed opsops_changes.rsL.141, 144: N/A (unit tests) executed_denunciations.rsL.286: N/A (unit tests) executed_ops.rsL.75: Ok (function argument type) |
Massa execution exportsevent_sore.rsL.126, ...: N/A (unit tests) controller_traits.rsL56, 66, 105: Ok (function argument type) |
Massa execution workercontroller.rsL.231, 249, : Ok (array creation) interface_impl.rsL.153: Ok (function argument type) execution.rsL.658, 697, 755, 805, 868, 874, 955, 961: Ok (vec! init) speculative_roll_state.rsL.511: Ok (index returned by find_cycle_indices) active_history.rsL.327: Ok (function argument type) |
Massa hashhash_xof.rsL.154, 155: Ok (length checked) hash.rsL.251, 252: Ok (length checked) |
Massa ledger exportstypes.rsL.75, 77, 81, 84: FIXED (with nom take) |
Massa ledger workerledger_db.rsL.548: N/A (docstring) |
Massa module cacheL.25, 33: Ok (macro called on Massa hash, len = 32 bytes) |
Massa nodeoperation_injector.rsN/A (testing tool) |
Massa protocol worker./handlers/operation_handler/retrieval.rsL.173, 174, 176, 177: N/A (Code commented) ./handlers/peer_handler/messages.rsL.241: Ok (length checked) handlers/peer_handler/mod.rsL.445: Ok (length defined as const on L.444) |
Massa serializationL.505, ...: N/A (unit tests) |
Massa signaturesignature_impl.rsL.302, 711, 1055: Ok (length checked) |
Nothing to check
NOT CHECKED
|
Very comprehensive checks, thanks a lot! Not closing for now in case there are still some things to fix, but the main PR #4560 is merged! |
Massa versioning |
No description provided.
The text was updated successfully, but these errors were encountered: