7
10
fil

@programming.dev

fil 7 points 3 years ago

By adding the return statement you pass the ownership of the string back to main. The unmodified function just took the ownership of the string and deallocated it after printing. Hope this helps

path: 0 8785199, hotness: undefined, score: 7, children: 1
fil 4 points 2 years ago

Is there a link to the blog somewhere?

path: 0 12530920, hotness: undefined, score: 4, children: 1
fil 2 points 2 years ago

Thanks for the tip! Updated

path: 0 10779231 10780493 10782818, hotness: undefined, score: 2, children: 0
fil 2 points 2 years ago

Excellent catch! Added validation for the new params

path: 0 10779231 10788747 10791241 10808852, hotness: undefined, score: 2, children: 0
fil 2 points 19 days ago

Vec::<u8>::new().as_ptr() = 0x0000000000000001

playground

path: 0 26111286 26111473 26111649 26114052, hotness: undefined, score: 2, children: 0
fil 2 points 3 years ago

You can already use experimental hyper backend (written in rust) for http stuff in curl https://aws.amazon.com/... I wonder if the vulnerability touches this use case as well

path: 0 4130762 4134033 4176937, hotness: undefined, score: 2, children: 1
fil 2 points 3 years ago

Conspiracy theory: the workgroup found an RCE vulnerability and assigned it identifier CLN-002 but never disclosed it to public and instead sold it to (CIA|DHL|MiB)

path: 0 5129117, hotness: undefined, score: 2, children: 0
fil 2 points 2 years ago

Some companies have policies of only using Windows on their laptops. Also this could be a friend's laptop

path: 0 12377213 12385045, hotness: undefined, score: 2, children: 0
fil 2 points 2 years ago

How are triggers different from events?

path: 0 14875511, hotness: undefined, score: 2, children: 1
fil 1 point 3 years ago

Can you guess what is happening here?

path: 0 8449718, hotness: undefined, score: 1, children: 0

thanks for using Leebra!

go to feed...