|
a book I read years ago refered to s/38 pointers as "capabilities". That is a pointer with built in authority to access what it points to. Steve -----Original Message----- From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On Behalf Of Scott Klement Sent: Wednesday, October 16, 2002 6:37 PM To: rpg400-l@midrange.com Subject: RE: add to *Null pointer does not throw an exception. Are you saying that one job can use a pointer that was created/manipulated by another job? Now THAT sounds like a bug. You could use that for all sorts of security exploits! On Wed, 16 Oct 2002, Steve Richter wrote: > > Also, the offset of a pointer can be used as data. Subtracting one pointer > from another returns a decimal difference in RPG. Consider that a pointer > can be stored in a permanent user space. One job could add to the pointer > and another job could use the resulting pointer. So the add to the pointer > is not a superfluous operation. > _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.