× 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.



That's how you pass data around via user spaces.
OS400 supplies an API that resolves a pointer to the user space.
Peter

-----Original Message-----
From: Scott Klement [mailto:klemscot@klements.com]
Sent: Thursday, October 17, 2002 11:37 AM
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 thread ...


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.