at poolsize_strategy(): > int len; ^ signed integer > > sysctl_poolsize = random_state->poolinfo.POOLBYTES; > >/* > >/* > * We only handle the write case, since the read case gets > * handled by the default handler (and we don't care if the > * write case happens twice; it's harmless). > */ > if (newval && newlen) { > len = newlen; ^ unsigned int converted to signed > if (len > table->maxlen) ^ comparison of two signed integers > len = table->maxlen; > if (copy_from_user(table->data, newval, len)) ^ copy_from_user with len possibly > table->maxlen
Is it just me or does newlen > max_signed_int mean len < 0
Great, stressed out, virtually canatonic coders patching an online game. You'll see people dining out of Stanley Cups, Gordon Freeman lounging on the couch too lazy to change the channel, and Paul Tagliabue running around taping up Sim's breasts in case of wardrobe malfunctions.
Have you ever had one of their games crash? I haven't
"Next thing you know, telecoms will be liable for medical malpractice if the network connections fail during remote robotic surgery."
Buddy, if I create a product specifically to do job A, and as a corollary, it can also do B,C,D (unintended uses), the customer cannot blame me if the product fails to work for B,C,D. However, they can blame me if the product is deficient wrt doing job A.
I just experienced the slashdot effect!
on
Does Linux Have Game?
·
· Score: -1, Offtopic
I was busy reading the first page, and before I got to the second, tomshardware was slashdotted! Wow. This is the highlight of my web surfing. Today.
I remember first hearing this quote when I was a kid (it was said before I was born). It was one of the best quotes I had ever heard regarding scientific exploration in general. Thank you for bringing that back for me.
I think PHDs show that you have the capability to think analytically, abstractly and progressively about a topic that you are very familiar with. This in no way implies that you (or me for that matter) cannot do it. Hell, I'm sure a lot of non-PHD's come up with pretty damn good ideas too.
There once was a time when software really was art. Now, it's a steely business. Back in 1979, Bill Gates was only some weenie whining because people were pirating paper tapes of his BASIC.
And now he's only some weenie whining because people are giving away operating systems and compilers for little or no cost.
Why would anyone bite the hand that feeds them? Unless they have more than one hand:)
Re:commodity IT is no longer a strategic advantage
on
Why I.T. Matters
·
· Score: 1
What I meant by commodity IT was that all similar companies will have more or less the same IT infrastructure. They will have an intranet, they will have a mail server etc and you can more or less swap out (NOT EXACTLY!) the infrastructures. In fact, there are people that specialize in setting up IT for companies with similar needs, hence commoditization of that class of IT.
That is why back office IT skills (commodity) are transferrable across vertical industries but domain specific IT skills (specialized) are not.
Btw, when is the last time you bought a bushel of wheat anyway?:)
commodity IT is no longer a strategic advantage
on
Why I.T. Matters
·
· Score: 5, Insightful
but not having IT is a strategic disadvantage
Re:My father's response to Carr's article
on
Why I.T. Matters
·
· Score: 1
You are right. I think a good study would be one that took into account how open-source actually affects the economy. As I use open-source mainly because I don't want to pir8, I would not pay the gobs of money that equivalent software demands esp for home use.
My guess would be that open-source people are those who cant afford the closed-source equivalents and those who dont want to steal it as well as those aiming to be l33t.
Another good study would be how many of those outsourcing companies in other countries use pirated software. Here are some stats:
Now the cost of piracy in Canada is similar to that of India. I can imagine that this is due to home users. How many people in India have a home computer? Where does the pirated software end up then?
This is not an attack on any of those countries. Just that sensible people would think about these issues
I do think there are some valid questions about the sustainability of a sector that depends on giving stuff away for free. Note: Open-source!=free beer:) I also think that there is a nice balance between closed source and open source.
I think most of your slowness problems stem from the fact that you used Redhat (I deduced this from your link). When I cleaned my computer and used gentoo, it was much faster and a lot more responsive.
Everything but the GUI stuff was sarcastic I think.
MS promoting CLI is just a PR thing. Although there are a lot of coolness factors, I would be surprised if the CLI is considered anything above VB scripting.
Windows only technical asset is a (relatively) good GUI.
Umm.. Are you sure about that? Kde 3.2.2 rocks windows socks off. It is the most usable interface I have ever used (I have never used OSX, so don't ask me).
Windows only asset is 90+% market share. If they didn't have that, and were open to real competition, they would have died a long time ago.
Its from the article linked in the parents post.
at poolsize_strategy(): /* /*
> int len;
^ signed integer
>
> sysctl_poolsize = random_state->poolinfo.POOLBYTES;
>
>
>
>
> * We only handle the write case, since the read case gets
> * handled by the default handler (and we don't care if the
> * write case happens twice; it's harmless).
> */
> if (newval && newlen) {
> len = newlen;
^ unsigned int converted to signed
> if (len > table->maxlen)
^ comparison of two signed integers
> len = table->maxlen;
> if (copy_from_user(table->data, newval, len))
^ copy_from_user with len possibly > table->maxlen
Is it just me or does newlen > max_signed_int mean len < 0
If so, that would be interesting.
Say what?
You must be in the rich area of the woods.
/me curses HTML Formatted default
Only 50% of the slashdotters with id 1000 are still married.
"Next thing you know, telecoms will be liable for medical malpractice if the network connections fail during remote robotic surgery."
Buddy, if I create a product specifically to do job A, and as a corollary, it can also do B,C,D (unintended uses), the customer cannot blame me if the product fails to work for B,C,D. However, they can blame me if the product is deficient wrt doing job A.
I was busy reading the first page, and before I got to the second, tomshardware was slashdotted! Wow. This is the highlight of my web surfing. Today.
eew man shoulders!
I remember first hearing this quote when I was a kid (it was said before I was born). It was one of the best quotes I had ever heard regarding scientific exploration in general. Thank you for bringing that back for me.
I think PHDs show that you have the capability to think analytically, abstractly and progressively about a topic that you are very familiar with. This in no way implies that you (or me for that matter) cannot do it. Hell, I'm sure a lot of non-PHD's come up with pretty damn good ideas too.
Haha thats priceless. I wouldve modded you up but I just lost em :)
There once was a time when software really was art. Now, it's a steely business. Back in 1979, Bill Gates was only some weenie whining because people were pirating paper tapes of his BASIC.
And now he's only some weenie whining because people are giving away operating systems and compilers for little or no cost.
Someone obviously just watched the movie Troy.
Why would anyone bite the hand that feeds them? Unless they have more than one hand :)
What I meant by commodity IT was that all similar companies will have more or less the same IT infrastructure. They will have an intranet, they will have a mail server etc and you can more or less swap out (NOT EXACTLY!) the infrastructures. In fact, there are people that specialize in setting up IT for companies with similar needs, hence commoditization of that class of IT.
:)
That is why back office IT skills (commodity) are transferrable across vertical industries but domain specific IT skills (specialized) are not.
Btw, when is the last time you bought a bushel of wheat anyway?
but not having IT is a strategic disadvantage
Your dad cusses with you? Nice!
You are right. I think a good study would be one that took into account how open-source actually affects the economy. As I use open-source mainly because I don't want to pir8, I would not pay the gobs of money that equivalent software demands esp for home use.
My guess would be that open-source people are those who cant afford the closed-source equivalents and those who dont want to steal it as well as those aiming to be l33t.
Another good study would be how many of those outsourcing companies in other countries use pirated software. Here are some stats:
Now the cost of piracy in Canada is similar to that of India. I can imagine that this is due to home users. How many people in India have a home computer? Where does the pirated software end up then?
This is not an attack on any of those countries. Just that sensible people would think about these issues
I do think there are some valid questions about the sustainability of a sector that depends on giving stuff away for free. Note: Open-source!=free beer :) I also think that there is a nice balance between closed source and open source.
I think most of your slowness problems stem from the fact that you used Redhat (I deduced this from your link). When I cleaned my computer and used gentoo, it was much faster and a lot more responsive.
Everything but the GUI stuff was sarcastic I think.
MS promoting CLI is just a PR thing. Although there are a lot of coolness factors, I would be surprised if the CLI is considered anything above VB scripting.
Umm.. Are you sure about that? Kde 3.2.2 rocks windows socks off. It is the most usable interface I have ever used (I have never used OSX, so don't ask me).
Windows only asset is 90+% market share. If they didn't have that, and were open to real competition, they would have died a long time ago.
Advertise your email as ac at kde dot org. When they paste it into their email client and they get 5 bounces, then the problem solves itself :)