#fixed code
                                public void testRedditAlbums() throws IOException {
        if (!DOWNLOAD_CONTENT) {
            return;
        }
        List<URL> contentURLs = new ArrayList<URL>();
        //contentURLs.add(new URL("http://www.reddit.com/r/nsfw_oc"));
        //contentURLs.add(new URL("http://www.reddit.com/r/nsfw_oc/top?t=all"));
        //contentURLs.add(new URL("http://www.reddit.com/u/gingerpuss"));
        contentURLs.add(new URL("http://www.reddit.com/r/UnrealGirls/comments/1ziuhl/in_class_veronique_popa/"));
        for (URL url : contentURLs) {
            try {
                RedditRipper ripper = new RedditRipper(url);
                ripper.rip();
                assert(ripper.getWorkingDir().listFiles().length > 1);
                deleteDir(ripper.getWorkingDir());
            } catch (Exception e) {
                e.printStackTrace();
                fail("Error while ripping URL " + url + ": " + e.getMessage());
            }
        }
    }
#vulnerable code 
                                public void testRedditAlbums() throws IOException {
        if (false && !DOWNLOAD_CONTENT) {
            return;
        }
        List<URL> contentURLs = new ArrayList<URL>();
        //contentURLs.add(new URL("http://www.reddit.com/r/nsfw_oc"));
        //contentURLs.add(new URL("http://www.reddit.com/r/nsfw_oc/top?t=all"));
        //contentURLs.add(new URL("http://www.reddit.com/u/gingerpuss"));
        contentURLs.add(new URL("http://www.reddit.com/r/UnrealGirls/comments/1ziuhl/in_class_veronique_popa/"));
        for (URL url : contentURLs) {
            try {
                RedditRipper ripper = new RedditRipper(url);
                ripper.rip();
                assert(ripper.getWorkingDir().listFiles().length > 1);
                deleteDir(ripper.getWorkingDir());
            } catch (Exception e) {
                e.printStackTrace();
                fail("Error while ripping URL " + url + ": " + e.getMessage());
            }
        }
    } 
                            #location 14 
                            #vulnerability type NULL_DEREFERENCE