Re: Attention Windows Users



Pete, thanks for the comments.

I do programming for personal use, self taught, but not a
novice. Started learning back in '83.

Most of my programming involves crunching databases of some
sort, mostly to do with my interest in seismology - reading
in data on 100's of thousands of quakes and then doing stuff
with that. I've always used some form of basic, currently
something called XBasic. http:\\www.xbasic.org

Anyway, in my programs, when I read in data, I couldn't see
how there could be a buffer overflow. So I asked the question
in the support group for XB.

In a nutshell it has to do with how the language allocates
memory. C allows one to write beyond the allocated block of
memory. A programmer would have to explicitly check that the
data they are writing to memory will not exceed the length
of the buffer.

XB on the other hand allocates memory dynamically so it's
not possible to overflow.

That's my limited understanding of it anyway. I may have
missed some details, but the point is, in a language like C
the programmer has to take specific measures to prevent the
overflow whereas in XB it's not possible to begin with, so
no worries. I mean, it is possible, but oyu'd have to do it
on purpose. Memory is not normally directly accessable in XB.

Brian
--
http://www.skywise711.com - Lasers, Seismology, Astronomy, Skepticism
Seismic FAQ: http://www.skywise711.com/SeismicFAQ/SeismicFAQ.html
Quake "predictions": http://www.skywise711.com/quakes/EQDB/index.html
Sed quis custodiet ipsos Custodes?
.



Relevant Pages

  • Re: Requesting advice how to clean up C code for validating string represents integer
    ... technical definition of a programming language) which in ordinary ... usage has a "wide variety of exact meanings in many walks of life", ... whether some random set of memory cells in a C core image, ... north-west relative to the rest of the Bay Area. ...
    (comp.lang.c)
  • Re: MAKEINTRESOURCE in win32asm
    ... > practical use, as there is no reason, in Asm Programming ... (which would also require a second read from memory to complete), ... haven't noticed it...you must have had some address pointer, ... ooh, "messages"...the value zero can mean "window created", the value ...
    (alt.lang.asm)
  • Re: A case for HTML as a programming language
    ... > language that can express any finite state machine can express any ... amount of external read/write memory, ... By contrast, a full computer with only HTML as its language, no real ... programming language in addition, and links only to static WebPages (no ...
    (comp.programming)
  • Re: The Great Debate V. What have changed ?
    ... I programmed using the Delphi VCL for years. ... > wanted more memory statistics than Delphi was giving me. ... To thoose with more than 5 years programming ... > overestimated egos. ...
    (alt.lang.asm)
  • Re: Cell Architecture Explained (MASSIVE AMOUNT OF INFO)
    ... >Programming Itanic was a picnic compared to programming this thing; ... >So in return for giving up cache, your code has to manually move data ... >to/from memory. ... low-bandwidth stream register file that faces memory and local ...
    (comp.arch.embedded)