Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4d05077

Browse files
committed
Fix OOB in DTMD
1 parent3f882e3 commit4d05077

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
Snapshotsnapshots[MAX_SNAPSHOTS_PER_TRANS];
3333
intsnapshots_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
staticinlinevoidl2_list_link(L2List*after,L2List*elem)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp