Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

origin_type=$0001'0000 | The chief DAMPFPFLAUDERER fixed it (DOSX)

posted by Japheth(R) Homepage, Germany (South), 24.05.2009, 22:36

> > Running it with a debug version of DKRNL32.DLL shows that ffw2 calls the
> > Win32 API function SetFilePointer() with an 'origin' parameter value of
> > 10000h. This is invalid, SetFilePointer() is expected to return -1
> then,
> > but DKRNL32 currently doesn't verify this param and calls DOS with the
> low
> > byte of 'origin' and returns a 'valid' result.
> Fixed:
> (43 KiB)
> (769 Bytes)

C-coool! Did you use MS link to create the binary? :surprised:

MS-DOS forever!


Complete thread:

Back to the forum
Board view  Mix view
15276 Postings in 1373 Threads, 253 registered users, 13 users online (0 registered, 13 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum