mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 12:05:49 +01:00
Issue 191 - Linux dump_syms produces bad line numbers for some functions (16 bit overflow). r=Liu Li
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@190 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
b5c78cc8d1
commit
bd7b42587c
@ -223,7 +223,8 @@ int LoadLineInfo(struct nlist *list,
|
||||
struct LineInfo line;
|
||||
while (cur_list < list_end && cur_list->n_type == N_SLINE) {
|
||||
line.rva_to_func = cur_list->n_value;
|
||||
line.line_num = cur_list->n_desc;
|
||||
// n_desc is a signed short
|
||||
line.line_num = (unsigned short)cur_list->n_desc;
|
||||
func_info->line_info.push_back(line);
|
||||
++cur_list;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user