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:
>
> http://freefile.kristopherw.us/uploads/temp/dkrnl32.zip (43 KiB)
> http://freefile.kristopherw.us/uploads/temp/avi.zip (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
15189 Postings in 1365 Threads, 250 registered users, 11 users online (0 registered, 11 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum