you can easily test the bowl overflow pipe by filling the bowl with water and leaving it in a glass for an hour. if the glass is dry, move on.
you need to ensure your tank is free from debris and your petcock sock is not damaged. anything washing down thru the petcock will block the float valve.
if tank is clean and the overflow pipe is not cracked and leaking, you need to verify your float height, and, verify your float valve is not worn or not sealing.
do all of this off the bike with the carbs propped up level.
if the float valve will not shut off gas you'll need to buy a new matching set (valve, and seat). 4into1.com carries these...
If your float valve shuts off gas, then verify your float height, and "test" the fuel level by using the clear tube test.
No debris, functioning float valve, and correct fuel height....will always keep your fuel in your bowl.... and the majority of the time, even if you have a leaky petcock.