[lkml]   [2008]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] x86: split e820 reserved entries record to late v4 - fix v7
    On Thu, 4 Sep 2008 21:04:57 +0200
    Ingo Molnar <> wrote:

    > + printk(KERN_DEBUG " __reserve_region_with_split: (%s) [%llx, %llx], res: (%s) [%llx, %llx]\n",
    > + conflict->name, conflict->start, conflict->end,
    > + name, start, end);

    start and end have type resource_size_t. Such types CANNOT be printed
    unless cast to a known type.

    Because there is a %s following an incorrect %lld, the above code will
    crash the machine.

     \ /
      Last update: 2008-09-04 21:21    [W:0.035 / U:47.512 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site