Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re: So Rust does not even have a spec? WTF? (Score 2) 106

From Rust Vulnerability Analysis and Maturity Challenges :

A MITRE CVE search for "Rust" in December 2022 returned recent vulnerabilities affecting a wide range of community-maintained libraries but also cargo itself, Rust's default dependency management and software build tool.

Perhaps one of Rust's most noteworthy features is its borrow checker and ability to track memory lifetimes, along with the unsafe keyword. The borrow checker's inability to reason about certain situations around the use of unsafe code can result in interesting and surprising vulnerabilities. CVE-2021-28032 is an example of such a vulnerability, in which the software library was able to generate multiple mutable references to the same memory location, violating the memory safety rules normally imposed on Rust code.

While this is only one example, other CVEs appeared for undefined behavior and other memory access errors in our basic CVE search. These existing CVEs seem to confirm our earlier observations on the limitations of the Rust security model. While it is hard to compare Rust-related CVEs to those of other languages and draw general conclusions about the safety of the language, we can infer that Rust's memory safety features alone are insufficient to eliminate the introduction of memory-related software vulnerabilities into the code at build time, even if the language and compiler do well at reducing them.

For example, Rudra discovered CVE-2021-25900, a buffer overflow in the smallvec library, as well as CVE-2021-25907, a double drop vulnerability (analogous to a double-free vulnerability due to Rust's use of default OS allocators) in the containers library.

Comment Re:Public money, public code! (Score 2) 13

A research grant or a contract may already specify the source has to be open. In most cases the only expected results are publications.

Researchers increasingly publish their data and code to enable scientific transparency, reproducibility, reuse, or compliance with funding bodies, journals, and academic institutions.[1][2]

For example, Papers With Code lists papers with code in machine learning, astronomy, physics, computer sciences, mathematics and statistics.

Comment Re:Value of cryptocurrency isn't a factor (Score 2) 12

Remember the super-secret super-secure phones that drug dealers started using until it was discovered that they were being run by the NSA, who was getting CC'd on every text?

FBI app exposed Triads, cartels and Middle East crime syndicates(June 8, 2021):

The operation dubbed "Trojan Shield" in the US duped criminals across the globe into buying cellphones that had pre-loaded FBI software on them - and exposed Asian Triad gangs, Middle Eastern organized crime outfits, Latin American drug cartels and even biker crews to police investigators.

Hardened encrypted devices usually provide an impenetrable shield against law enforcement surveillance and detection. The supreme irony here is that the very devices that these criminals were using to hide from law enforcement were actually beacons for law enforcement.

Users thought their messages on the app were encrypted and hidden from law enforcement scrutiny - but every message sent on the platform was also delivered to investigators.

This sophisticated international criminal underworld takedown that thwarted dozens of murders, netted a mountain of drugs and led to more than 800 arrests, authorities said.

It has netted some 8 tons of cocaine, 2 tons of amphetamine, 55 luxury cars, 250 guns and more than 20 tons of marijuana and hash after raids in countries across the globe, Jean-Philippe Lecouffe, deputy director of operations at Europol, said at a press conference in the Netherlands on Tuesday.

The messages gave investigators in Europe, the US and Australia a behind-the-scenes look as criminals plotted contract killings, drug trafficking and robberies.

Comment Re:Paid Facebook account (Score 1) 98

What kind of a muppet would actually pay to go on Facebook?

What kind of a nerd would actually pay to go on Slashdot?

From Slashdot Subscriptions page:

Please Note: Buying or gifting of a new subscription is not available at the moment. We apologize for the inconvenience. This downtime though does not effect your current active subscription in any way. We will keep you posted on the latest

Slashdot Subscriptions disappeared from Slashdot FAQ. It is still possible to navigate to that page by clicking 'Next' on About Slashdot.

Subscribing is strictly optional. The Subscriptions benefits include:
- You get an asterisk appended to your user ID for all comments you post while you're a subscriber.
- You can see each story 10-20 minutes before it goes "live.".
- Getting rid of ads on the page. 1000 ad free pages for $5.
- You can add up to 400 friends and foes, instead of being limited to 200.
- You can get a message sent to you when people change their relationship to you (friend or foe).
- More choices when writing a journal entry.
- You get a "More Comments" link on your user page and on other users' pages.
- Your personal index feed, linked from the bottom of the homepage, will be customized for your homepage preferences.

Submission + - SPAM: Alternative implementation of Rust in GCC, FOSDEM 2023 Talk

sleeping cat writes: If Rust is available in the GNU toolchain, releases can be built on the Linux kernel (for example) with CFI using LLVM or GCC. Once Rust-GCC can compile and verify all Rust programs, this can also help figure out any inconsistencies in the specification of features in the language. This should help to get features right in both compilers before they are stabilized.

Rust currently lacks a full language specification. The Ferrocene project by Ferrous Systems is the first step in that direction. If Rust-GCC can help with that, we're happy to work together and move the formal specification forward.

Started in 2014, the gccrs project is working toward creating an alternative compiler implementation for the Rust programming language. At the moment, the project targets the 1.49 version of the language and hopes to catch up once that milestone is reached.

In that talk, we will explore some of the components inside gccrs, as well as dive into some of the hurdles encountered during the project's lifetime.

Finally, we will explore ways to cross-pollinate with the Rust community, in order to help and benefit both projects. Specifically, we will dive into some ways we plan to share components with rustc, and how to achieve that: namely, we will look at how we plan on integrating the Polonius project to perform borrow-checking inside gccrs, what our efforts with running the rustc 1.49 testsuite are, and what we need to achieve to start being useful to the Rust- for-Linux project.

Link to Original Source

Comment Re:Region restrictions (Score 1) 211

Using a streaming service without region restrictions is a real reason to use a VPN. In fact it is *the* real reason.

Unfortunately, this does not work on many streaming services anymore. Amazon prime video does not play video titles when it detects a VPN connection. It shows error "Deactivate any VPN or proxy servers.". It seems that Amazon has huge list of IP addresses which belong to VPN servers. Paramount plus region is based on your billing card. Paramount accepts only credit cards which were issued in USA or Canada. VPN does not help with that. I did not notice any difference in region content or VPN blocking on Apple TV plus and Disney plus.

Slashdot Top Deals

Matter cannot be created or destroyed, nor can it be returned without a receipt.

Working...