]> source.dussan.org Git - gitblit.git/commit
Fix NPE when getting user's fork without repository list caching (issue-182)
authorChristian Aistleitner <christian@quelltextlich.at>
Mon, 25 Mar 2013 00:42:23 +0000 (01:42 +0100)
committerChristian Aistleitner <christian@quelltextlich.at>
Mon, 25 Mar 2013 00:42:23 +0000 (01:42 +0100)
commitce3f4bd24c330e0cace6a31567e1516dfaa66234
tree884ba35f7bfff72f4e49037baeed903bee05ff5a
parentc7acc2e1fa86102bb87e715c8fe4e336329fbcc6
Fix NPE when getting user's fork without repository list caching (issue-182)

When a user does not have a fork of a project, getProjectModel returns
null. So we guard against null before dereferencing the returned
project.
src/com/gitblit/GitBlit.java