473,396 Members | 1,786 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

C dangerous?

I read an article in a book about Perl and Common Gateway Interface and it
mentioned C. It said that C could damage your computer. I don't know wether
it meant the standard or compiler issuses. I was a little upset. Well more
upset. I sent Dennis Ritchie and email. I don't know if he'll respond if he
gets it. Sometimes he does sometimes not. How can C damage your computer?

Bill

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 14 '05
101 3235

In article <fv********************************@4ax.com>, Mark McIntyre <ma**********@spamcop.net> writes:
On 27 Feb 2004 22:18:59 GMT, in comp.lang.c , mw*****@newsguy.com (Michael
Wojcik) wrote:
Fortunately, no, I don't. I was merely explaining why I thought
Mark's belief that a failure in ring-0 code could not possibly put a
disk controller in a state which a software reboot would not reset
was unfounded.
If you check back, you'll see that this is not what I said.
When I wrote:

Why not? The bug in question causes code running in privileged mode
(ring 0) to fail in unpredictable ways. It's certainly possible that
in general such a fault can, say, write invalid data to memory-mapped
controler ports. (<c1********@enews4.newsguy.com>)

You responded:

Sure, disk /access/ failure, scribbled on data, unable to boot from
the device etc. But to actually damage the disk electronics so that
the BIOS reports the disk as being nonexistent or defective? Thats
pretty unlikely IMHO. (<7i********************************@4ax.com>)

In short, I claimed that the bug could affect the controller in such
a way as to produce the symptom in question (BIOS can't access disk
until after cold boot). You contradicted me. I ignored the clause
about "damag[ing] the disk electronics", since I hadn't claimed
anything of the sort, and assumed that you disagreed with what I
had actually written.

I admit that in the message you've quoted above I suggested you were
objecting to the hypothetical controller-in-an-invalid-state
diagnosis, since that's what I had been talking about all along. If
that's not in fact what you meant, then your original objection to
my post is moot, since I never claimed any "damage to the drive
electronics".

You also wrote:

FWIW while I accept completely that you saw a disk failure
immediately after the restart, I don't believe that this specific bug
can actually *cause* a disk failure.
(<5m********************************@4ax.com>)

and I continue to claim that you are mistaken. The issues of drive
versus controller and "damage to electronics" versus controller
state are beside the point, because "damage to drive electronics"
is not (I have claimed) the only problem that could produce the
reported symptom (disk failure reported on warm boot).
but again, thats not what I said. Please dont misquote me in the context
of a Poppian debate, its bad enough being abused about what I /did/
write... :-)


I didn't quote you at all in this case. I paraphrased, in a what I
feel was a generous manner: I interpreted your argument as relevant
to what I had actually claimed, not about some chimerical "damage to
electronics". If you prefer, I'm happy to interpret your argument
more strictly and simply note that it's irrelevant.

--
Michael Wojcik mi************@microfocus.com

When [Columbus] landed on America it was more like an evasion than a
discovery. -- Matt Walsh
Nov 14 '05 #101
On 1 Mar 2004 18:28:15 GMT, in comp.lang.c , mw*****@newsguy.com (Michael
Wojcik) wrote:
In article <fv********************************@4ax.com>, Mark McIntyre <ma**********@spamcop.net> writes:
On 27 Feb 2004 22:18:59 GMT, in comp.lang.c , mw*****@newsguy.com (Michael
Wojcik) wrote:
>Fortunately, no, I don't. I was merely explaining why I thought
>Mark's belief that a failure in ring-0 code could not possibly put a
>disk controller in a state which a software reboot would not reset
>was unfounded.
If you check back, you'll see that this is not what I said.


You responded:

Sure, disk /access/ failure, scribbled on data, unable to boot from
the device etc. But to actually damage the disk electronics so that
the BIOS reports the disk as being nonexistent or defective? Thats
pretty unlikely IMHO. (<7i********************************@4ax.com>)


Do you see the last sentence here? Do you understand it ?
You also wrote:

FWIW while I accept completely that you saw a disk failure
immediately after the restart, I don't believe that this specific bug
can actually *cause* a disk failure.
(<5m********************************@4ax.com>)

and I continue to claim that you are mistaken.


*shrug*. And I care because?

if you want to continue this, take it to alt.flames.hardware. I'm not
particularly interested except to remove what I felt was a
misrepresentation of what i said.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 14 '05 #102

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: b83503104 | last post by:
When are they not consistent?
4
by: cesark | last post by:
Hi ! I have important doubts about how to handle the security in asp.net vb.net web forms. Somebody can help me? 1. If you have setting ‘validateRequest=true’ in .net framework1.1, What can...
302
by: Lee | last post by:
Hi Whenever I use the gets() function, the gnu c compiler gives a warning that it is dangerous to use gets(). Is this due to the possibility of array overflow? Is it correct that the program...
6
by: Brendan | last post by:
Hi, I'm trying to mimic the IPC/messaging system of an specific OS in a portable way by using GCC's library. The IPC system uses buffered asynchronous messages, where any thread can send a...
10
by: lovecreatesbea... | last post by:
C stops the conversion from (char **) to (const char **). c-faq.com sec 11.10 has explanation on this point. But, for example, even the conversion from (char *) to (const char *) brings the same...
6
by: Thomas.li | last post by:
Hi, I want to convert CString to LPBYTE like LPBYTE lpByte = (BYTE*)(LPCTSTR)cstring; is it very dangerous to do that?
233
by: Julian | last post by:
'evening. I'm not new to C and have been programming in it since I was 8 but here's a strange problem I've never seen before. When I compile a program from our C course with a windows compiler...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.