Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iomanX perform lower bounds check on fd before returning #685

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

uyjulian
Copy link
Member

No description provided.

@fjtrujy
Copy link
Member

fjtrujy commented Nov 29, 2024

I have tested it with my example using ps2_drivers and it works as expected:

ELF changed, active CRC 20E74092 (host:/Users/fjtrujy/Projects/ps2_drivers/samples/filesystem_sample/filesystem_sample.elf)
Applying core settings...
Updating CPU configuration...
EE/iR5900 Recompiler Reset
Warning: GetOsdConfigParam2 Reading extended language/version configs, may be incorrect!
Get Reboot Request From EE

PlayStation 2 ======== Soft reboot

IOP Realtime Kernel Ver.0.9.1
    Copyright 1999 (C) Sony Computer Entertainment Inc. 
Reboot service module.(99/11/10)
cdvd driver module version 0.1.1 (C)SCEI
Load File service.(99/11/05)
Multi Threaded Fileio module.(99/11/15) 
iop heap service (99/11/03)
Poweroff_Handler: Poweroff installed
fileXio: fileXio: fileXio RPC Server v1.00
Copyright (c) 2003 adresd
Block Device Manager (BDM) v1.1
BDM: connecting fs MBR
BDM: connecting fs GPT
BDM: BDM event thread running
BDM FatFs driver (FAT/exFAT) v1.4
BDM: connecting fs fatfs
USB Driver (Version 1.6.0)
usbmass_bd: USB MASS Driver v1.1
cdfs Filedriver vDRIVER_UNIT_VERSION
Re-edited by fjtrujy
Original implementation
by A.Lee (aka Hiryu) & Nicholas Van Veen (aka Sjeep)
CDFS: Initializing 'cdfs' file driver.

DEV9 device driver v1.0 - Copyright (c) 2003 Marcus R. Brown

dev9: CXD9611 detected.
usbmass_bd: connect: devId=1
usbmass_bd: Vendor: IOMEGA  
usbmass_bd: Product: ZIP 100         
usbmass_bd: Revision: E.08
usbmass_bd: 0 524288-byte logical blocks: (0MB / 512MiB)
BDM: connecting device usb0p0 id=0x0
Found MBR disk
BDM: usb0p0 mounted to fatfs
DEV9: Adapter Detection Hack - Resetting RX/TX
dev9: SPEED chip 'ES2', revision 11
dev9: CXD9611 (SSBUS Buffer) driver start.
read/write allocate memory 4000
Opening mass0 via open
Getting driver name via fileXioIoctl2
Driver name is usb
Creating mass0:/testdir
Opening FONTM

Not sure if there are some other issues pending to be fixed, but so far it is working great!

Cheers!

@fjtrujy fjtrujy merged commit e3bea49 into ps2dev:master Nov 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants