From: Jonas Smedegaard Subject: [PATCH] fixup Flaws in upstream code corrected. Signed-off-by: Jonas Smedegaard