2011/11/16 Jonathan Nieder <jrnieder@xxxxxxxxx>: > Jokes aside, here's a rough series to do the git_path -> > git_path_unsafe renaming. While writing it, I noticed a couple of > bugs, hence the two patches before the last one. Patch 2 is the more > interesting one. Another approach is do nothing and leave it for a static analysis tool to detect potential problems. I'm looking at sparse at the moment, although I know nothing about it to say if it can or cannot detect such problems. We can at least make sparse detect return value from git_path() being passed to an unsafe function, I think. -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html