News for hackers. Stuff that matters.
Re:How to find size of an array in C without sizeof by spdionis on Monday December 26, 2016 @04:51PM (#13259957)
That's why it's called one in a million...
Re:How to find size of an array in C without sizeof by maxlybbert on Monday December 26, 2016 @10:25PM (#13261095)
Re:How to find size of an array in C without sizeof by tholmes on Monday December 26, 2016 @07:31PM (#13260533)
One in a million happens quite often if you're processing something like ~100k requests a second.
Re:How to find size of an array in C without sizeof by spdionis on Tuesday December 27, 2016 @04:09AM (#13262112)
In fact I agreed with the parent and just posted a tongue in cheek remark.

One in a million literally means that at ~100k requests a second it will happen once every 10 seconds.

Re:How to find size of an array in C without sizeof by jschwartzi on Monday December 26, 2016 @09:03PM (#13260820)
But it's extremely unlikely when you're processing 10 requests a week, such as might be the case for the web server in a consumer-grade router.
Re:How to find size of an array in C without sizeof by quotemstr on Monday December 26, 2016 @09:45PM (#13260953)
It's amazing how skilled blackhats are at converting "rare bug that doesn't affect the UI" into "massive DDoS cannon".
Re:How to find size of an array in C without sizeof by jschwartzi on Tuesday December 27, 2016 @12:52AM (#13261541)
And you can see how risk analyses by senior engineers with tons of embedded experience who are used to working with systems that are not networked leads to problems when their systems are later networked.
Re:How to find size of an array in C without sizeof by paulddraper on Monday December 26, 2016 @09:34PM (#13260918)
...by hundreds of thousands of customers.
Re:How to find size of an array in C without sizeof by chongli on Tuesday December 27, 2016 @10:09AM (#13263513)
One in a million isn't just a typical statement of probability, it's a colloquialism used to refer to things that never happen in practice. It's highly misleading to use in the context of computers which, due to their natures, have one in a million events occurring constantly.
Re:How to find size of an array in C without sizeof by spdionis on Tuesday December 27, 2016 @10:28AM (#13263644)
My comment was tongue in cheek.