[haiku-commits] Change in ...haiku[master]: PVS V781: size used before it's checked

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 1 Aug 2019 21:05:45 +0000

From Adrien Destugues <pulkomandy@xxxxxxxxx>:

Adrien Destugues has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/1671


Change subject: PVS V781: size used before it's checked
......................................................................

PVS V781: size used before it's checked

memcpy with a negative parameter doesn't look like a great idea.
---
M src/add-ons/kernel/file_systems/btrfs/Inode.cpp
1 file changed, 4 insertions(+), 6 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/71/1671/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1671
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I3d1a8c224bd288784f068086652a84b2b75fcea8
Gerrit-Change-Number: 1671
Gerrit-PatchSet: 1
Gerrit-Owner: Adrien Destugues <pulkomandy@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in ...haiku[master]: PVS V781: size used before it's checked - Gerrit