search for: chars_to_copy

Displaying 1 result from an estimated 1 matches for "chars_to_copy".

2017 Jun 18
2
asterisk 13.16. - sigseg during negotiation
...at pthread_create.c:301 #24 0x00007fba4238dbcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 (gdb) frame 0 #0 ast_copy_pj_str (dest=0x7fb9f5901100 "x\277\001<h\025\220", <incomplete sequence \365>, src=0x20, size=1025) at res_pjsip.c:4147 4147 size_t chars_to_copy = MIN(size - 1, pj_strlen(src)); (gdb) list 4142 return std.fail; 4143 } 4144 4145 void ast_copy_pj_str(char *dest, const pj_str_t *src, size_t size) 4146 { 4147 size_t chars_to_copy = MIN(size - 1, pj_strlen(src)); 4148 memcpy(dest, pj_strbuf(src), chars_t...