qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 01a720: target-sh4: Use glib allocator in mov


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 01a720: target-sh4: Use glib allocator in movcal helper
Date: Fri, 22 Jul 2016 04:30:03 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 01a720125f5e2f0a23d2682b39dead2fcc820066
      
https://github.com/qemu/qemu/commit/01a720125f5e2f0a23d2682b39dead2fcc820066
  Author: Peter Maydell <address@hidden>
  Date:   2016-07-22 (Fri, 22 Jul 2016)

  Changed paths:
    M target-sh4/op_helper.c

  Log Message:
  -----------
  target-sh4: Use glib allocator in movcal helper

Coverity spots that helper_movcal() calls malloc() but doesn't
check for failure. Fix this by switching to the glib allocation
functions, which abort on allocation failure.

Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Acked-by: Aurelien Jarno <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]