Bug 94333 [Import/Export] Problems with reading long file names in tar files
The code which performs a read() on a LongLink name in TarInputStream does not check if it has read the entire name. This causes errors when importing tar files with long names.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/TarInputStream.java
pos++;
			longLinkName = new String(longNameData, 0, pos, "UTF8"); 
			return getNextEntryInternal();
		}
		return entry;
	}
	/* (non-Javadoc)
	 * @see java.io.FilterInputStream#read(byte[], int, int)
	 */
	public int read(byte[] b, int off, int len) throws IOException {
		if(nextEOF == 0) return -1;
		if(len > nextEOF) len = nextEOF;
		int size = super.read(b, off, len);
		nextEntry -= size;
		nextEOF -= size;
		bytesread += size;
		return size;
	}
	/* (non-Javadoc)
	 * @see java.io.FilterInputStream#read()
	 */
	public int read() throws IOException {
		byte[] data = new byte[1];
		int size = read(data, 0, 1);
		if (size < 0)
			return size;
		return data[0];
	}
}