diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-05-13 08:12:27 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-05-13 08:12:27 +0000 |
commit | a7c5d642d5e123b34143cf4ad623c7ced230f831 (patch) | |
tree | dd3b15fac572e5069d3f9b065201a97328478c92 /epan/dissectors/packet-spnego.c | |
parent | a10ffa4cebdb415fdce6312b621238fca022d066 (diff) |
Regenerate ASN.1 dissectors to update the #line directive.
svn path=/trunk/; revision=37118
Diffstat (limited to 'epan/dissectors/packet-spnego.c')
-rw-r--r-- | epan/dissectors/packet-spnego.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/dissectors/packet-spnego.c b/epan/dissectors/packet-spnego.c index 90b3a9d9d1..3033b17c41 100644 --- a/epan/dissectors/packet-spnego.c +++ b/epan/dissectors/packet-spnego.c @@ -1137,10 +1137,13 @@ rrc_rotate(void *data, int len, guint16 rrc, int unrotate) left = len - rrc; - if (rrc <= sizeof(buf)) + if (rrc <= sizeof(buf)) { tmp = buf; - else + } else { tmp = g_malloc(rrc); + if (tmp == NULL) + return -1; + } if (unrotate) { memcpy(tmp, data, rrc); |