Skip to content

Commit 4d05077

Browse files
committed
Fix OOB in DTMD
1 parent 3f882e3 commit 4d05077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dtmd/include/transaction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ typedef struct Transaction {
3232
Snapshot snapshots[MAX_SNAPSHOTS_PER_TRANS];
3333
int snapshots_count; // will wrap around if exceeds max snapshots
3434

35-
void *listeners[CHAR_TO_INDEX('z')]; // we are going to use 'a' to 'z' for indexing
35+
void *listeners[CHAR_TO_INDEX('z')+1]; // we are going to use 'a' to 'z' for indexing
3636
} Transaction;
3737

3838
static inline void l2_list_link(L2List* after, L2List* elem)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy