During RDB check we setup a special signal handler for memory violations * and similar conditions, so that we can log the offending part of the RDB * if the crash is due to broken content. */
| 157 | * and similar conditions, so that we can log the offending part of the RDB |
| 158 | * if the crash is due to broken content. */ |
| 159 | void rdbCheckHandleCrash(int sig, siginfo_t *info, void *secret) { |
| 160 | UNUSED(sig); |
| 161 | UNUSED(info); |
| 162 | UNUSED(secret); |
| 163 | |
| 164 | rdbCheckError("Server crash checking the specified RDB file!"); |
| 165 | exit(1); |
| 166 | } |
| 167 | |
| 168 | void rdbCheckSetupSignals(void) { |
| 169 | struct sigaction act; |
nothing calls this directly
no test coverage detected