ken

Results 8 issues of ken

backdoor/rubilyn/source/rubilyncon.c: ``` 55 56 char* read_arg(){ 57 char* string; 58 string = malloc(MAXARG); 59 if(!string) 60 exit(0); 61 memset(string,0,MAXARG); 62 scanf("%512s",string); 63 return string; 64 } 65 66 void main_menu(){...

In this context, matcher.glob() already returns a Cow to a String type and then push it into Vec. The to_string() method can be used here (which can accept Cow

https://github.com/sharkdp/bat/issues/2605

in `sudo-rs/test-framework/sudo-compliance-tests` run `SUDO_UNDER_TEST=theirs cargo test` : ``` test helpers::rsyslogd_works has been running for over 60 seconds test su::cli::arguments_are_passed_to_shell has been running for over 60 seconds test su::cli::dash_user_shell_arguments has been...

test-framework

fix cargo clippy warning and error

fix clippy warning casting u64 to usize may truncate the value on targets with 32-bit wide pointer clippy tips: ``` warning: casting `u64` to `usize` may truncate the value on...

fix cargo clippy warning and error

clippy tips: ``` warning: unneeded `return` statement --> src/modules/kernel.rs:14:17 | 14 | return Ok(kernel_version); | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default...