News for hackers. Stuff that matters.
Re:IDIV DoS (INT_MIN / -1) by loeg on Sunday January 27, 2013 @11:09PM (#5127077)
But -1*INT_MIN is still 1 greater than INT_MAX in two's complement ... so that's signed overflow and thus undefined behavior in C.

Assuming x86 signed overflow behavior, you're just back to INT_MIN again? Or am I crazy?

Re:IDIV DoS (INT_MIN / -1) by bdonlan on Sunday January 27, 2013 @11:27PM (#5127127)
The language in question isn't C, so they can have whatever semantics they want.
Re:IDIV DoS (INT_MIN / -1) by loeg on Monday January 28, 2013 @10:40PM (#5132194)
Sorry, the use of the nym INT_MIN suggested to me that the implementation under the covers was C.

It looks like it was once an interpreter, but is now compiled down to CLR and run with Mono.