[Bug 15862] New: Devmem allocates more memory than it needs

bugzilla at busybox.net bugzilla at busybox.net
Mon Nov 20 20:42:14 UTC 2023


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

            Bug ID: 15862
           Summary: Devmem allocates more memory than it needs
           Product: Busybox
           Version: 1.35.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: tm.mehmetbal at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

In devmem program, check line 76.

Width local variable holds length in bit(s). However offset_in_page and
page_size local variables holds value in byte(s). When check that read/write
address block spans the two pages,  the left and right operands of the greater
operator must be in units of bit(s) or byte(s).

"if (offset_in_page + width > page_size)" in devmem program, source code line
76.

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


More information about the busybox-cvs mailing list