[Bug 16129] New: Buffer Size Mismatch in volume_id

bugzilla at busybox.net bugzilla at busybox.net
Wed Jul 17 06:56:59 UTC 2024


https://bugs.busybox.net/show_bug.cgi?id=16129

            Bug ID: 16129
           Summary: Buffer Size Mismatch in volume_id
           Product: Busybox
           Version: 1.36.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: stasos24 at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

File:
/.build/util-linux/volume_id/iso9660.c:114

Code:
if (memcmp(hs->id, "CDROM", 5) == 0)

However:
hd-id have size of 4

Line 49-53
struct high_sierra_volume_descriptor {
        uint8_t         foo[8];
        uint8_t         type;
        uint8_t         id[4];
        uint8_t         version;
} PACKED;

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list