Forbrig / Forbrig/sa_encryption_codes

Transposition: malloc memory corruption

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Seems like there is a problem in the first malloc() in the function tc_fill_msg(), keep getting memory corruption when some sizes are: message: 40, key: 7. And should allocate 42 chars.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.