Access font after the null check in sceFontGetCharImageRect, not before.
Fix a typo in an if statement comparison in function sceNetAdhocPdpDelete. This was likely intended to check against 'sock', not 'socket'. On Windows, initially 'socket' referred to a function in the WinSock2.h header file. Naturally, this will alway be non-null, which further leads to the conclusion that this was the intended comparison.

Also updated the commented out sections accordingly.
Merge pull request #4923 from lioncash/master

Fix possible null ptr derefs in sceFont.cpp. Also fix typo in if statement comparison in sceNetAdhoc.cpp