Merge "p2p: check the length of the network name bytes" into qt-qpr1-dev am: 2e513c5b1b am: 15ee5f5d68

Change-Id: I88d0dca68f8703d716c1c392a5bada0e4c8c248b