git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e833019
)
ep_strdup stack buffer before returning it.
author
Luis Ontanon
<luis.ontanon@gmail.com>
Tue, 7 Mar 2006 05:24:02 +0000
(
05:24
-0000)
committer
Luis Ontanon
<luis.ontanon@gmail.com>
Tue, 7 Mar 2006 05:24:02 +0000
(
05:24
-0000)
fixes coverity error 109.
svn path=/trunk/; revision=17489
epan/asn1.c
patch
|
blob
|
history
diff --git
a/epan/asn1.c
b/epan/asn1.c
index 299ab537b7c53088192734aa56396fb31efda6da..f8946a7d72bda52071d0d5e90e30394bf58d150e 100644
(file)
--- a/
epan/asn1.c
+++ b/
epan/asn1.c
@@
-1077,7
+1077,7
@@
asn1_err_to_str(int err)
default:
g_snprintf(errstrbuf, sizeof errstrbuf, "Unknown error (%d)", err);
- errstr = e
rrstrbuf
;
+ errstr = e
p_strdup(errstrbuf)
;
break;
}
return errstr;