Actions
Optimization #5785
opensmb: use u32.to_be_bytes to replace function u32_as_bytes
Effort:
Difficulty:
Label:
Beginner
Description
I think use std function here is more straightforward.
u32_as_bytes implement: https://github.com/OISF/suricata/blob/55c4834e4e9b14a441b735f84d8d35b4eb151702/rust/src/smb/smb.rs#L670-L676
to_be_bytes document: https://doc.rust-lang.org/std/primitive.u32.html#method.to_be_bytes
Updated by Juliana Fajardini Reichow 11 months ago
- Assignee changed from b1 tg to Community Ticket
- Target version changed from TBD to 8.0.0-beta1
Hi there, according to our guidelines for stale tickets, I'm unassigning this ticket. Thanks for all your contributions, and feel free to reach out in case you have time and want to contribute to Suricata again :) :)
Updated by Victor Julien 5 months ago
- Target version changed from 8.0.0-beta1 to TBD
Actions