Date: Sun, 27 Nov 2022 19:28:52 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 268020] newsyslog(8) size condition fails on large files Message-ID: <bug-268020-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268020 Bug ID: 268020 Summary: newsyslog(8) size condition fails on large files Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: mg@fork.pl When logfile is large (in my case happened on 1.3TB file) newsyslog fails w= ith "does not exists, skipped" which is triggered by if (ent->fsize < 0) quick look suggests that fsize is set via sizefile() that returns int mappe= d to size in kilobytes, which shouldn't overflow so not sure for the reason of error... --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268020-227>