This will work for sending packets, but not receiving them. Sending is indeed not critical because you have control over what goes out and what not. However receiving a packet can't be controlled, because SFML relies on the packet length sent by the peer and starts to receive data until the buffer is filled, without the possibility to abort it.
So servers using sf::Packet for receiving data can be fairly easy DDoSed.
Just sent data beginning with 0xffffffff and thereafter pure garbage. Do that some times in parallel and you'll soon get the server's RAM really dirty.
An accessor for checking how much data has been already received in myPendingPacket would be nice. If it exceeds a certain value, one can disconnect the peer (limiting packet sizes by just stopping receiving is no option, the data was sent nevertheless).