RE: Buffer overflow and code execution on iSeries

"jm penasse" <[email protected]>
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Steve,


> All theory of course. The SEPT hook is something I always wanted
> to try but
> did not have the nerve for.  What is the worse that could happen?
>  A system
> crash??
>
> -Steve

Each job has a pointer to the Sept in its PCO.
So, you can create your own space, copy the original Sept into your space,
in the PCO change the sept pointer to a pointer to your space. Voilà !
You can change pointers in your space as you like, only your job will crash.
Nevertheless I advise to restore original SEPT Pointer into PCO before
ending your job. Entries in WCBT are reused, and new jobs may be started
with your own "sept".

Jean Michel

_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.