NFS: do not use reported remaining length as the backing length
authorPascal Quantin <pascal.quantin@gmail.com>
Sun, 7 Jun 2015 10:04:28 +0000 (12:04 +0200)
committerPascal Quantin <pascal.quantin@gmail.com>
Sun, 7 Jun 2015 10:41:53 +0000 (10:41 +0000)
commite9c94731f6da1564ee7b266747a08d05aa5a9af8
tree32c175de412ac6d18346655018f302d58c8a6317
parentad0b29c44bde028e2a39b72d194588dc59d20d05
NFS: do not use reported remaining length as the backing length

Otherwise it could throw an exception if captured length < reported length

Change-Id: Ia9eb2778dbfebc1865a0040020a62ba20882b482
Reviewed-on: https://code.wireshark.org/review/8804
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
epan/dissectors/packet-nfs.c