[rust-dev] Code Review: Guessing Game (help the new docs!)

2014-06-27 Thread Steve Klabnik
Hey all, So! The new tutorial will be focused on building several small projects in Rust. This example is the first one: a classic 'guessing game.' This was one of the first programs I wrote when I first learned C. I'd like the feedback of the community before I actually start writing the guide.

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-27 Thread Patrick Walton
On 6/27/14 1:31 AM, Igor Bukanov wrote: This bug would be harmless in safe code in Rust as exploiting it requires array access without bound checking. Correct. This is a prime example of what I was talking about in my earlier message: weaponizing integer overflows is much more difficult in a

Re: [rust-dev] Integer overflow, round -2147483648

2014-06-27 Thread Igor Bukanov
This bug would be harmless in safe code in Rust as exploiting it requires array access without bound checking. On 27 June 2014 07:07, Tony Arcieri wrote: > Thought I'd just throw this one on the fire ;) > > http://blog.securitymouse.com/2014/06/raising-lazarus-20-year-old-bug-that.html > > __