summaryrefslogtreecommitdiff
path: root/asn1/h248/h248.cnf
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-12-13 03:48:26 +0000
committerGerald Combs <gerald@wireshark.org>2005-12-13 03:48:26 +0000
commit6b376c9c0e1deafd58cb4b7effbf89eb8f81d426 (patch)
treeb2e52c51b78ab7dc0f49c8537cf7d946a03b667c /asn1/h248/h248.cnf
parent1fe28ca017f23d12b615e1f83fb8064203fa57a8 (diff)
downloadwireshark-6b376c9c0e1deafd58cb4b7effbf89eb8f81d426.tar.gz
asn2eth.py:
Catch a TypeError that gets thrown if we don't use any conversion specifiers during string formatting. H.248: Don't dereference a null pointer. Fixes bug 626. svn path=/trunk/; revision=16773
Diffstat (limited to 'asn1/h248/h248.cnf')
-rw-r--r--asn1/h248/h248.cnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/h248/h248.cnf b/asn1/h248/h248.cnf
index 3bc853d911..7b52d4812b 100644
--- a/asn1/h248/h248.cnf
+++ b/asn1/h248/h248.cnf
@@ -238,7 +238,7 @@ ServiceChangeReply/terminationID terminationIDList
if (cmd) {
h248_cmd_set_error(cmd,error_code);
- } else {
+ } else if (trx) {
h248_trx_set_error(trx,error_code);
}