c-coderdbc
c-coderdbc copied to clipboard
Fix memory corruption (marker was getting overflowed because
Fixed memory corruption that was causing an abort when running this on MacOS. In FindVersion, marker was only 8 bytes. It needed to be 9 bytes because some strings were 8 characters long. That would make 9 bytes with the null terminator. Also, fixed the no -rw option. Before, it would create 000, 001, ... folders, but all of the code folders would be in the output directory instead of the appropriate numbered directory.
Hi @jmailloux thank you for participating
Please, check the latest v3.1 release. I was adding new features regarding generation output configuration flexibility and also stumbled with that problem. FindVersion is completely refactored, I believe that this issue fixed now. https://github.com/astand/c-coderdbc/tree/v3.1