Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix format string vulnerability
Reported by Kapil Anand on ayttm-users: https://sourceforge.net/p/ayttm/mailman/message/34397158/ This patch does the following two things: 1. Makes sure debug_print is only used in DEBUG mode and not in non-DEBUG mode 2. Since debug_print is basically printf, we don't really need to first snprintf into a buffer and then print the buffer. 3. We no longer need debug_buff
- Loading branch information