09f9bc1746
The upstream code now opens temporary files in a secure manner.
13 lines
429 B
Plaintext
13 lines
429 B
Plaintext
$OpenBSD: patch-arclzw_c,v 1.2 2005/10/13 18:05:20 naddy Exp $
|
|
--- arclzw.c.orig Tue Oct 11 23:48:21 2005
|
|
+++ arclzw.c Tue Oct 11 23:48:30 2005
|
|
@@ -560,7 +560,7 @@ decomp(squash, f, t) /* decompress a fi
|
|
*/
|
|
if (code >= free_ent) {
|
|
if (code > free_ent) {
|
|
- if (warn) {
|
|
+ if (arcwarn) {
|
|
printf("Corrupted compressed file.\n");
|
|
printf("Invalid code %d when max is %d.\n",
|
|
code, free_ent);
|