Mojira Archive
MC-78786

MAYBE Major skin download issue

I am not quite sure if this is really the case, and it would be awesome if MOJANG would not remove this feature to create custom skins, but it should just make sure, that it downloads PNGs and don't executes them.

Please keep this feature, but just make it safer

I used http://www.dragnoz.net/custom-head-block-generator/ to create the command for the heads.

Java Chrome Extension
/give @p skull 1 3 {display:{Name:"Player Head"},SkullOwner:{Id:C1717FAF-D7F0-C8F1-C776-55C8068ABFB4,Properties:{textures:[{Value:e3RleHR1cmVzOntTS0lOOnt1cmw6Imh0dHA6Ly9qYXZhZGwuc3VuLmNvbS93ZWJhcHBzL2Rvd25sb2FkL0F1dG9ETD9CdW5kbGVJZD0xMDQ3NzYifX19=}]}}} 
Java Chrome Extension Error
[21:25:09] [Texture Downloader #1/ERROR]: Couldn't download http texture
java.io.FileNotFoundException: C:\Users\####\AppData\Roaming\.minecraft\assets\skins\Au\AutoDL?BundleId=104776 (Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch)
	at java.io.FileOutputStream.open(Native Method) ~[?:1.8.0_25]
	at java.io.FileOutputStream.<init>(FileOutputStream.java:213) ~[?:1.8.0_25]
	at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:367) ~[commons-io-2.4.jar:2.4]
	at org.apache.commons.io.FileUtils.openOutputStream(FileUtils.java:326) ~[commons-io-2.4.jar:2.4]
	at org.apache.commons.io.FileUtils.copyInputStreamToFile(FileUtils.java:1510) ~[commons-io-2.4.jar:2.4]
	at bmb$1.run(SourceFile:115) [1.8.3.jar:?]
Chrome Download
/give @p skull 1 3 {display:{Name:"Player Head"},SkullOwner:{Id:12832923-92F4-324E-EC50-01D7C8BFF4AB,Properties:{textures:[{Value:e3RleHR1cmVzOntTS0lOOnt1cmw6Imh0dHBzOi8vd3d3Lmdvb2dsZS5kZS9jaHJvbWUvYnJvd3Nlci9kZXNrdG9wLyMifX19=}]}}} 
Chrome Download Crash
---- Minecraft Crash Report ----
// Why is it breaking :(

Time: 17.03.15 21:28
Description: Rendering entity in world

java.lang.StringIndexOutOfBoundsException: String index out of range: 2
	at java.lang.String.substring(String.java:1950)
	at bnq.a(SourceFile:65)
	at bnq.a(SourceFile:53)
	at bhl.a(SourceFile:78)
	at bfj.a(SourceFile:52)
	at bji.a(SourceFile:122)
	at bjg.a(SourceFile:123)
	at bjg.a(SourceFile:19)
	at biv.a(SourceFile:295)
	at biv.a(SourceFile:260)
	at biv.a(SourceFile:227)
	at bfs.a(SourceFile:596)
	at bfl.a(SourceFile:1244)
	at bfl.b(SourceFile:1149)
	at bfl.a(SourceFile:1002)
	at avf.av(SourceFile:914)
	at avf.a(SourceFile:325)
	at net.minecraft.client.main.Main.main(SourceFile:124)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
	at java.lang.String.substring(String.java:1950)
	at bnq.a(SourceFile:65)
	at bnq.a(SourceFile:53)
	at bhl.a(SourceFile:78)
	at bfj.a(SourceFile:52)
	at bji.a(SourceFile:122)
	at bjg.a(SourceFile:123)
	at bjg.a(SourceFile:19)

-- Entity being rendered --
Details:
	Entity Type: Item (va)
	Entity ID: 101705
	Entity Name: item.item.skull.char
	Entity's Exact location: 127,95, 68,96, 67,29
	Entity's Block location: 127,00,68,00,67,00 - World: (127,68,67), Chunk: (at 15,4,3 in 7,4; contains blocks 112,0,64 to 127,255,79), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Entity's Momentum: 0,04, -0,25, 0,01
	Entity's Rider: ~~ERROR~~ NullPointerException: null
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null

-- Renderer details --
Details:
	Assigned renderer: bjg@1f1d7c52
	Location: -0,01,1,22,-0,02 - World: (-1,1,-1), Chunk: (at 15,0,15 in -1,-1; contains blocks -16,0,-16 to -1,255,-1), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
	Rotation: 91.40625
	Delta: 0.38007152
Stacktrace:
	at biv.a(SourceFile:295)
	at biv.a(SourceFile:260)
	at biv.a(SourceFile:227)
	at bfs.a(SourceFile:596)
	at bfl.a(SourceFile:1244)
	at bfl.b(SourceFile:1149)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [bex['Marcono1234'/242, l='MpServer', x=127,93, y=67,90, z=67,31]]
	Chunk stats: MultiplayerChunkCache: 625, 625
	Level seed: 0
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: 
	Level spawn location: 120,00,64,00,72,00 - World: (120,64,72), Chunk: (at 8,4,8 in 7,4; contains blocks 112,0,64 to 127,255,79), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Level time: 845120 game time, 259301 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Forced entities: 65 total; [tu['Schwein'/128, l='MpServer', x=92,78, y=64,00, z=50,38], tu['Schwein'/131, l='MpServer', x=84,69, y=63,00, z=84,09], tq['Pferd'/133, l='MpServer', x=85,72, y=64,00, z=87,72], tu['Schwein'/135, l='MpServer', x=81,34, y=64,00, z=128,94], tu['Schwein'/136, l='MpServer', x=93,97, y=64,00, z=133,03], vc['container.minecart'/143, l='MpServer', x=105,50, y=64,00, z=73,31], vg['container.minecart'/144, l='MpServer', x=104,91, y=64,00, z=74,47], tu['Schwein'/145, l='MpServer', x=99,09, y=64,00, z=93,78], tu['Schwein'/146, l='MpServer', x=111,38, y=70,00, z=122,03], ty['Tintenfisch'/91155, l='MpServer', x=134,39, y=58,05, z=84,66], ty['Tintenfisch'/91154, l='MpServer', x=138,34, y=57,93, z=88,33], tl['Fledermaus'/58132, l='MpServer', x=51,13, y=20,00, z=25,75], ty['Tintenfisch'/91157, l='MpServer', x=134,67, y=60,83, z=90,53], bex['Marcono1234'/242, l='MpServer', x=127,93, y=67,90, z=67,31], ty['Tintenfisch'/91156, l='MpServer', x=136,03, y=58,98, z=92,50], tv['Kaninchen'/151, l='MpServer', x=114,75, y=63,00, z=-11,44], tv['Kaninchen'/152, l='MpServer', x=125,94, y=63,00, z=-2,53], tl['Fledermaus'/153, l='MpServer', x=127,50, y=66,09, z=59,50], tu['Schwein'/154, l='MpServer', x=110,28, y=65,00, z=39,53], tu['Schwein'/155, l='MpServer', x=123,50, y=63,00, z=104,19], tu['Schwein'/157, l='MpServer', x=115,66, y=64,00, z=142,19], tl['Fledermaus'/76449, l='MpServer', x=91,52, y=35,14, z=109,98], tv['Kaninchen'/163, l='MpServer', x=133,00, y=64,00, z=-2,09], tu['Schwein'/164, l='MpServer', x=134,97, y=66,00, z=26,00], tu['Schwein'/165, l='MpServer', x=130,88, y=63,00, z=120,63], tl['Fledermaus'/84260, l='MpServer', x=191,59, y=27,41, z=56,16], tu['Schwein'/166, l='MpServer', x=131,44, y=65,00, z=114,28], tv['Kaninchen'/170, l='MpServer', x=150,66, y=64,00, z=-11,59], tu['Schwein'/171, l='MpServer', x=152,25, y=66,00, z=21,16], ty['Tintenfisch'/77866, l='MpServer', x=189,31, y=62,34, z=103,28], tu['Schwein'/172, l='MpServer', x=155,97, y=68,00, z=42,00], ty['Tintenfisch'/77869, l='MpServer', x=177,47, y=62,00, z=97,09], ty['Tintenfisch'/77868, l='MpServer', x=179,59, y=61,94, z=97,78], tl['Fledermaus'/92975, l='MpServer', x=62,41, y=50,38, z=36,45], tl['Fledermaus'/92977, l='MpServer', x=67,23, y=46,35, z=42,41], tl['Fledermaus'/92976, l='MpServer', x=67,26, y=45,95, z=44,55], tq['Pferd'/178, l='MpServer', x=174,59, y=66,00, z=21,16], tl['Fledermaus'/92979, l='MpServer', x=61,44, y=52,75, z=35,33], tu['Schwein'/179, l='MpServer', x=171,16, y=67,00, z=47,66], to['Huhn'/54, l='MpServer', x=48,22, y=62,60, z=102,16], to['Huhn'/56, l='MpServer', x=47,81, y=62,60, z=130,81], tv['Kaninchen'/187, l='MpServer', x=194,69, y=66,00, z=4,53], tu['Schwein'/189, l='MpServer', x=201,97, y=64,00, z=74,78], tl['Fledermaus'/66753, l='MpServer', x=104,25, y=11,53, z=58,16], tl['Fledermaus'/84679, l='MpServer', x=64,44, y=54,84, z=131,91], va['item.item.skull.char'/101705, l='MpServer', x=127,95, y=68,96, z=67,29], tq['Pferd'/73, l='MpServer', x=49,09, y=63,00, z=25,88], tq['Pferd'/74, l='MpServer', x=48,22, y=63,00, z=31,75], tv['Kaninchen'/75, l='MpServer', x=58,88, y=63,00, z=39,94], tq['Esel'/76, l='MpServer', x=58,31, y=63,00, z=47,13], tq['Pferd'/77, l='MpServer', x=62,03, y=63,00, z=34,66], tq['Pferd'/78, l='MpServer', x=58,13, y=63,00, z=61,00], tq['Pferd'/79, l='MpServer', x=57,97, y=63,00, z=48,78], tq['Pferd'/80, l='MpServer', x=62,38, y=63,00, z=61,06], to['Huhn'/81, l='MpServer', x=48,16, y=62,63, z=107,00], to['Huhn'/82, l='MpServer', x=48,31, y=62,58, z=105,31], tv['Kaninchen'/96, l='MpServer', x=78,09, y=63,00, z=23,38], tq['Pferd'/97, l='MpServer', x=66,53, y=63,00, z=42,72], tq['Pferd'/98, l='MpServer', x=64,28, y=63,00, z=39,22], tq['Pferd'/100, l='MpServer', x=74,31, y=62,20, z=67,00], tq['Pferd'/101, l='MpServer', x=67,97, y=62,40, z=66,56], tu['Schwein'/109, l='MpServer', x=84,13, y=64,00, z=128,09], tu['Schwein'/110, l='MpServer', x=72,34, y=64,00, z=132,13], tu['Schwein'/126, l='MpServer', x=95,97, y=63,00, z=21,97], tu['Schwein'/127, l='MpServer', x=86,78, y=64,00, z=44,88]]
	Retry entities: 0 total; []
	Server brand: vanilla
	Server type: Integrated singleplayer server
Stacktrace:
	at bdc.a(SourceFile:309)
	at avf.b(SourceFile:2296)
	at avf.a(SourceFile:334)
	at net.minecraft.client.main.Main.main(SourceFile:124)

-- System Details --
Details:
	Minecraft Version: 1.8.3
	Operating System: Windows 7 (amd64) version 6.1
	CPU: 6x AMD Phenom(tm) II X6 1055T Processor
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 152793976 bytes (145 MB) / 440496128 bytes (420 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
	IntCache: cache: 5, tcache: 0, allocated: 13, tallocated: 95
	Launched Version: 1.8.3
	LWJGL: 2.9.4
	OpenGL: AMD Radeon HD 6800 Series GL version 4.1.11161 Compatibility Profile Context, ATI Technologies Inc.
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: []
	Current Language: Deutsch (Deutschland)
	Profiler Position: N/A (disabled)

The crash might be one thing, but what scares me for real is the directory of the java extension: C:\Users####\AppData\Roaming\.minecraft\assets\skins\Au\AutoDL?BundleId=104776 (Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch)
I am not a programmer and only want to help with Minecraft, but this might seem like it actually got executed, because the file itself would be called chromeinstall-8u40.exe

Please don't blame me if I am completely wrong, I just wanted to try something out and I am a little bit concerned at the moment

To the Chrome Like crash, it would also crash with a underscore as link

Invalid

Marcono1234

2015-03-17, 10:34 PM

2015-03-21, 06:16 PM

2015-03-17, 11:54 PM

0

1

Unconfirmed

Minecraft 1.8.3

-