pimd: Fix invalid memory read when receiving a V1 or V2 query.

https://savannah.nongnu.org/support/index.php?108542
1 file changed