Content-Length: 257600 | pFad | http://github.com/postgrespro/postgres_cluster/commit/cf9d417320107604441694a7bc6cd3b039aca752

E2 Fix OOB in DTMD · postgrespro/postgres_cluster@cf9d417 · GitHub
Skip to content

Commit cf9d417

Browse files
committed
Fix OOB in DTMD
1 parent b986f30 commit cf9d417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_dtm/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 bool l2_list_is_empty(L2List* elem)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/cf9d417320107604441694a7bc6cd3b039aca752

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy