diff options
Diffstat (limited to 'libcrypt/des.c')
-rw-r--r-- | libcrypt/des.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrypt/des.c b/libcrypt/des.c index 8efd05e68..be2622ecf 100644 --- a/libcrypt/des.c +++ b/libcrypt/des.c @@ -697,6 +697,7 @@ char *__des_crypt(const unsigned char *key, const unsigned char *setting) #define output __des_crypt_out if (!__uc_des_data) { + /* If malloc returns NULL, we just segfault. Other ideas? */ __uc_des_data = memset(__uc_malloc(sizeof(D)), 0, sizeof(D)); } |