Skip to content
  1. Jun 28, 2019
    • Colin Ian King's avatar
      ALSA: xen-front: fix unintention integer overflow on left shifts · 3fc41476
      Colin Ian King authored
      
      
      Shifting the integer value 1 is evaluated using 32-bit
      arithmetic and then used in an expression that expects a 64-bit
      value, so there is potentially an integer overflow. Fix this
      by using the BIT_ULL macro to perform the shift.
      
      [ Note: as of the time being, no actual integer overflow hits because
        all values are less than 32bit, not including the extended 3-byte or
        DSD formats.  But this is the right fix for future usage, of
        course. -- tiwai ]
      
      Addresses-Coverity: ("Unintentional integer overflow")
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      3fc41476
  2. Jun 24, 2019
  3. Jun 21, 2019
  4. Jun 18, 2019
  5. Jun 17, 2019
  6. Jun 14, 2019
  7. Jun 13, 2019
  8. Jun 12, 2019