alelievr / libft-unit-test

453 stars 88 forks source link

Crush test: avoid crush on NULL param with a size of 0 #128

Closed mfunyu closed 1 year ago

mfunyu commented 1 year ago

For the two functions that are listed below, there is an edge case that many students tend to miss. Add test cases to cover these cases.

strlcat

github-actions[bot] commented 1 year ago

Hello! Thanks for contributing to the libft unit test.

Note that this repository is not maintained by the owner anymore, instead there is a bot that will automatically merge any reviewed pull requests. If you feel like it, here are some links that can help you submiting a change in the code base::