diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-23 21:09:20 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-23 21:09:20 +0000 |
commit | ab509857d5962eacade3c2bacdeb43496e50b2f4 (patch) | |
tree | d6296c383f144b785f334c1f032d135a88cf5d50 /res/ael/ael.y | |
parent | 715995777c419492239e0001a66114331c117391 (diff) |
Merged revisions 272260 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r272260 | tilghman | 2010-06-23 16:06:40 -0500 (Wed, 23 Jun 2010) | 8 lines
Ensure a NULL file while debugging cannot crash AEL.
(closes issue #17215)
Reported by: vazir
Patches:
20100518__issue17215.diff.txt uploaded by tilghman (license 14)
Tested by: tilghman
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@272262 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/ael/ael.y')
-rw-r--r-- | res/ael/ael.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ael/ael.y b/res/ael/ael.y index c8bc9c78e..27e04c583 100644 --- a/res/ael/ael.y +++ b/res/ael/ael.y @@ -854,7 +854,7 @@ struct pval *npval(pvaltype type, int first_line, int last_line, z->endline = last_line; z->startcol = first_column; z->endcol = last_column; - z->filename = strdup(my_file); + z->filename = strdup(S_OR(my_file, "<none>")); return z; } |