This is an automated email from the ASF dual-hosted git repository.

dmeden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 81838f4e69 Coverity: fix for CID-1550449 (#11860)
81838f4e69 is described below

commit 81838f4e6975c06914116d0767bd84397aad3fb6
Author: Damian Meden <[email protected]>
AuthorDate: Fri Nov 15 09:52:38 2024 +0100

    Coverity: fix for CID-1550449 (#11860)
    
    1550449 Overflowed integer argument
---
 src/tscore/lockfile.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tscore/lockfile.cc b/src/tscore/lockfile.cc
index 5ea32438f6..c56a1dddbb 100644
--- a/src/tscore/lockfile.cc
+++ b/src/tscore/lockfile.cc
@@ -43,7 +43,7 @@ Lockfile::Open(pid_t *holding_pid)
 
   struct flock lock;
   char        *t;
-  int          size;
+  size_t       size;
 
   fd = -1;
 

Reply via email to