diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-03-08 02:27:14 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-03-08 02:27:14 +0000 |
| commit | 7aa6cec9300c8a3e9ef98b19791ad324d487512e (patch) | |
| tree | 18c0487da11274dc1c4b67787ef12b1cefa15ae8 /DOSAPI.c | |
| parent | dae2bbc7215a8361e7b9092e6c307491c7e5722a (diff) | |
New upstream version 6.0.25.33+repackupstream/6.0.25.33+repack
Diffstat (limited to 'DOSAPI.c')
| -rw-r--r-- | DOSAPI.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -175,8 +175,8 @@ VOID CHOSTAPI(ULONG * pEAX, ULONG * pEBX, ULONG * pECX, ULONG * pEDX, VOID ** pE Stream = (EAX & 0xFF);
n = Stream - 1; // API Numbers Streams 1-64
- if (n < 0 || n > 63)
- n = 64;
+ if (n < 0 || n > BPQHOSTSTREAMS - 1)
+ n = BPQHOSTSTREAMS;
HostVec = &BPQHOSTVECTOR[n];
Session = HostVec->HOSTSESSION;
|
