aboutsummaryrefslogtreecommitdiffstats
path: root/epan/crypt
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-06-05 15:43:10 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2015-06-05 21:15:37 +0000
commit1ec868edddbca60e367f0681db8a5ee5aa32fe74 (patch)
tree2759a88e2b6bc3291b76f29894edde31c2b61124 /epan/crypt
parent244f2fbbf6c4167c75c4eb626aa8a73208ba3d8e (diff)
Fix a few issues reported by PVS-Studio
See http://www.viva64.com/en/b/0328/ for details Change-Id: Ic9ddfd690b49401c96cb8a4a277c671f9824be31 Reviewed-on: https://code.wireshark.org/review/8775 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/crypt')
-rw-r--r--epan/crypt/airpdcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/crypt/airpdcap.c b/epan/crypt/airpdcap.c
index 52e0275937..66d9a85346 100644
--- a/epan/crypt/airpdcap.c
+++ b/epan/crypt/airpdcap.c
@@ -1129,7 +1129,7 @@ AirPDcapWepMng(
sa->key=tmp_key;
if (key!=NULL) {
- memcpy(key, &sa->key, sizeof(AIRPDCAP_KEY_ITEM));
+ memcpy(key, sa->key, sizeof(AIRPDCAP_KEY_ITEM));
key->KeyType=AIRPDCAP_KEY_TYPE_WEP;
}