Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
lshw
> lshw-fix-segfault_bufferoverflow-in-readlogicalblocks.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File lshw-fix-segfault_bufferoverflow-in-readlogicalblocks.patch of Package lshw
Import buffer overflow fix from lshw-development : svn commit 2528. Index: src/core/fat.cc =================================================================== --- a/src/core/fat.cc (révision 2527) +++ b/src/core/fat.cc (révision 2528) @@ -81,6 +81,7 @@ uint8_t dummy2[164]; uint8_t pmagic[2]; } __attribute__((__packed__)) fat32; + char sector[512]; // to make sure the whole struct is at least 512 bytes long } __attribute__((__packed__)) type; } __attribute__((__packed__));