Commit 4148670
committed
Use absolute /usr/bin/tar to avoid PATH hijack
Call /usr/bin/tar instead of plain "tar" when extracting JDK archives in JdkInstaller to avoid PATH-based hijacking. Adds a comment documenting the change; other ProcessStartInfo settings remain unchanged.1 parent 18d17d5 commit 4148670
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
464 | 465 | | |
465 | | - | |
| 466 | + | |
466 | 467 | | |
467 | 468 | | |
468 | 469 | | |
| |||
0 commit comments