summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-dvbci.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2014-01-20 23:30:01 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2014-01-20 23:30:01 +0000
commit6517e3ba4b294931601f74112439eb827a3b5c85 (patch)
tree87dc643f211504b45694cca3986c6ca4b62986cf /epan/dissectors/packet-dvbci.c
parentae82a1cafef36924e52330273383ed78771c86ee (diff)
downloadwireshark-6517e3ba4b294931601f74112439eb827a3b5c85.tar.gz
don't use tvb_get_string(..., len) to get exactly len raw bytes
from a tvbuff svn path=/trunk/; revision=54867
Diffstat (limited to 'epan/dissectors/packet-dvbci.c')
-rw-r--r--epan/dissectors/packet-dvbci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dvbci.c b/epan/dissectors/packet-dvbci.c
index 088a79b438..a9560af5ed 100644
--- a/epan/dissectors/packet-dvbci.c
+++ b/epan/dissectors/packet-dvbci.c
@@ -2206,7 +2206,7 @@ decrypt_sac_msg_body(
clear_data = (unsigned char *)g_malloc(clear_len);
err = gcry_cipher_decrypt (cipher, clear_data, clear_len,
- tvb_get_string(wmem_packet_scope(), encrypted_tvb, offset, len), len);
+ tvb_get_ptr(encrypted_tvb, offset, len), len);
if (gcry_err_code (err))
goto end;