Error when dealing with memory - mremap_chunk: Assertion
问题 It seems like my previous post but issue here is different .. This is the C structure for problem - typedef struct ip_esp_private { /* keep track of things privately */ u_int32_t type; u_int32_t ivlen; u_int32_t icvlen; u_int32_t keylen; /* length of "Encryption key */ u_int32_t akeylen; /*length of authn key */ u_int32_t key[0]; /* encryption key and authentication key both */ } esp_private; The values are provided to structure contents at run time as follows - case 'k': /* Key */ length =