commit 3c9268bd5c3b368146b91149b57b38eaa042bfeb
Author: Adam Gołębiowski <ad...@pld-linux.org>
Date:   Sun Apr 30 10:48:59 2023 +0200

    - rediff

 lshw-buffer_overflow.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lshw-buffer_overflow.patch b/lshw-buffer_overflow.patch
index c5ad9c1..deb105c 100644
--- a/lshw-buffer_overflow.patch
+++ b/lshw-buffer_overflow.patch
@@ -15,5 +15,5 @@ diff -ruN lshw-B.02.17.orig/src/core/fat.cc 
lshw-B.02.17/src/core/fat.cc
                        uint8_t pmagic[2];
 +                      uint8_t dummy3[256];
                } __attribute__((__packed__)) fat32;
+               char sector[512];       // to make sure the whole struct is at 
least 512 bytes long
        } __attribute__((__packed__)) type;
- } __attribute__((__packed__));
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lshw.git/commitdiff/3c9268bd5c3b368146b91149b57b38eaa042bfeb

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to