| 124 | } |
| 125 | |
| 126 | NORETURN void _overflow_exit(const char *msg, const char *file, int line) |
| 127 | { |
| 128 | rprintf(FERROR, "[%s] buffer overflow: %s (file=%s, line=%d)\n", who_am_i(), msg, src_file(file), line); |
| 129 | exit_cleanup(RERR_MALLOC); |
| 130 | } |
| 131 | |
| 132 | const char *src_file(const char *file) |
| 133 | { |