jdk8: fix sprintf patch

This fixes a recent commit via #123708
The patch itself had an additional '%s' in the sprintf which is unsafe
depending on the surrounding memory.

+1 -1
+1 -1
pkgs/development/compilers/openjdk/fix-library-path-jdk8.patch
··· 24 24 sizeof(SYS_EXT_DIR) + sizeof("/lib/") + strlen(cpu_arch) + sizeof(DEFAULT_LIBPATH) + 1, 25 25 mtInternal); 26 26 - sprintf(ld_library_path, "%s%s" SYS_EXT_DIR "/lib/%s:" DEFAULT_LIBPATH, v, v_colon, cpu_arch); 27 - + sprintf(ld_library_path, "%s%s", v); 27 + + sprintf(ld_library_path, "%s", v); 28 28 Arguments::set_library_path(ld_library_path); 29 29 FREE_C_HEAP_ARRAY(char, ld_library_path, mtInternal); 30 30 }