4 Comments
Mar 5Liked by Dylan Falconer

Please clarify what's wrong with the code in their first example. It works fine when using Clang in macOS with the -fsanitize=address flag.

regards.

Expand full comment
author

Thanks for the comment, Rodrigo.

Somehow I changed the <= to < when moving the code into the article - sorry about that!

Fixed.

Expand full comment

Thank you. Might be a typo: printf("Done!\\n"); . Did you meant : printf("Done!\n");

Expand full comment
author

Yeah, it seems all the backslashes are doubled for some reason...

I will have to be more careful. Also, the substack editor is not great.

Cheers.

Expand full comment