this post was submitted on 18 Apr 2024
-54 points (9.1% liked)

Rust

6048 readers
1 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

Not to throw shade, just wishing that somebody here can understand. Whenever an input is reasonably long, an analyzing function will crash, and this PR aims to fix that with a mechanism that contradicts the maintainer's understanding while a similar C implementation does not need this fix. ~~Clearly, the maintainer has not heard a certain programming mantra...~~

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -2 points 7 months ago* (last edited 7 months ago) (1 children)

They tested the same strings on that implementation., though judging by the recent comments someone’s found something.

[–] [email protected] 7 points 7 months ago

They tested the same strings on that implementation

The strings were the same, but not the implementation. They were testing the decoding of the strings, but the C function they were looking at was the one for encoding them. The decoding function was correct but what it read didn't match the encoding one.

though judging by the recent comments someone’s found something.

Yeah, that's me :)