avoid call to rxi_FreePacket with NULL pointer
authorHans-Werner Paulsen <hans@MPA-Garching.MPG.DE>
Wed, 22 Jul 2009 13:14:33 +0000 (15:14 +0200)
committerJeffrey Altman <jaltman@openafs.org>
Wed, 22 Jul 2009 13:53:16 +0000 (06:53 -0700)
commite35dfdcce9d11607669783844331ad2dbafd2793
tree108cc941db553334d6c298d18d461fa53c5ba59e
parent322a7a854b348e68b0bc49f5ad37049af188518f
avoid call to rxi_FreePacket with NULL pointer

the function rx_ReadProc32 (src/rx/rx_rdwr.c) checks the pointer
call->currentPacket before the function rxi_FreePacket is called. This
test was missing in the function rx_ReadProc.

FIXES 125110

Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/178
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/rx/rx_rdwr.c