pesign/pesign-no-set-image-size.patch

13 lines
319 B
Diff
Raw Normal View History

--- a/libdpe/pe_addcert.c 2013-02-12 14:30:49.000000000 +0000
+++ b/libdpe/pe_addcert.c 2013-02-12 14:30:55.000000000 +0000
@@ -61,7 +61,9 @@ pe_alloccert(Pe *pe, size_t size)
dd->certs.virtual_address = compute_file_addr(pe, addr);
dd->certs.size = size;
+#if 0
pe_set_image_size(pe);
+#endif
return 0;
}