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
entry.setFileType(header[156]);
		}
		
		pos = 100;
		StringBuffer mode = new StringBuffer();
		for(i = 0; i < 8; i++) {
			if(header[pos + i] == 0) break;
			if(header[pos + i] == ' ') continue;
			mode.append((char) header[pos + i]);
		}
		if(mode.length() > 0 && mode.charAt(0) != '0') mode.insert(0, '0');
		try {
			long fileMode = Long.decode(mode.toString()).longValue();
			entry.setMode(fileMode);
		} catch(NumberFormatException nfe) {
			throw new TarException(DataTransferMessages.TarImport_invalid_tar_format, nfe); 
		}
		
		pos = 100 + 24;
		StringBuffer size = new StringBuffer();
		for(i = 0; i < 12; i++) {
			if(header[pos + i] == 0) break;
			if(header[pos + i] == ' ') continue;
			size.append((char) header[pos + i]);
		}
		if(size.charAt(0) != '0') size.insert(0, '0');
		int fileSize;
		try {
			fileSize = Integer.decode(size.toString()).intValue();
		} catch(NumberFormatException nfe) {