× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Rich Duzenbury wrote:
> 
> ...  My experiments
> with RPG bear this out - I wasn't been able to craft a buffer overflow
> using a variable (which I expected), nor a variable pointed at by a
> pointer (which I did not expect).
> 

You can easily get a buffer overflow in RPG using a pointer - declare a
5A based field and set the basing pointer to the address of something 4
bytes long, and write to the 5A field - it will write to the 4 bytes you
know about and then one byte that you don't know about.

It might not always cause a direct crash at the time of overflowing the
buffer.  You would only get a direct crash if you tried to reference
past the end of a physical segment.  But you can easily trash storage
that someone else (even your program) might be using, and cause
unspecified bad things to happen.

Our old friend, "parameter mismatch" is a great example of buffer
overflow.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.