diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-03-08 02:27:19 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-03-08 02:27:19 +0000 |
| commit | 90bbe9abf9996c82667d3e4f58b4e3db77129e48 (patch) | |
| tree | a3c1d7b3c884e3f3182db11968e94a8eb538e3f9 /DOSAPI.c | |
| parent | 4f0df4999cd0f9e425a93dc08080b4084634c450 (diff) | |
| parent | 7aa6cec9300c8a3e9ef98b19791ad324d487512e (diff) | |
Update upstream source from tag 'upstream/6.0.25.33+repack'
Update to upstream version '6.0.25.33+repack'
with Debian dir 8c0c36c05c355f6cb21140b2ebd58907087b1423
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;
|
