• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CyberDem0n / bg_mon
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: bugfix/pg16
DEFAULT BRANCH: master
Repo Added 22 Jun 2017 01:38PM UTC
Files 7
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH bugfix/buffer-overflow
branch: bugfix/buffer-overflow
CHANGE BRANCH
x
Reset
  • bugfix/buffer-overflow
  • HEAD
  • bugfix/json-escape
  • feature/aggregate
  • feature/aggregate2
  • feature/cgroup
  • feature/extended-stats
  • feature/lock-memory
  • feature/memory-failcnt
  • feature/net-and-extended-disk-stats
  • feature/pg11
  • feature/postgres-13
  • feature/refactoring
  • feature/safety
  • feature/smart-sighup
  • feature/start-with-postmaster
  • master

pending completion
133

Pull #20

travis-ci

web-flow
Fix buffer overflow in get_pg_locks

Every item returned by GetLockStatusData contains information about lock
held mode (ExclusiveLock, AccessShareLock, RowExclusiveLock and so on).
pg_locks view reports all modes for the same object and pg_lock_status()
was copied without full understanding how it supposed to work, what
cause buffer overflow. In fact we are not interested on all modes, but
only about lock status. Taking into account that the given record can
represent granted lock on a given object and at the same time it could
be waiting for a more strict lock, we need to extend array size by 2.
Pull Request #20: Fix buffer overflow in get_pg_locks

16 of 16 new or added lines in 2 files covered. (100.0%)

1084 of 1233 relevant lines covered (87.92%)

2768.05 hits per line

Relevant lines Covered
Build:
Build:
1233 RELEVANT LINES 1084 COVERED LINES
2768.05 HITS PER LINE
Source Files on bugfix/buffer-overflow
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
133 bugfix/buffer-overflow Fix buffer overflow in get_pg_locks Every item returned by GetLockStatusData contains information about lock held mode (ExclusiveLock, AccessShareLock, RowExclusiveLock and so on). pg_locks view reports all modes for the same object and pg_lock_s... Pull #20 17 Nov 2018 05:39PM UTC web-flow travis-ci pending completion  
132 bugfix/buffer-overflow Fix buffer overflow in get_pg_locks Every item returned by GetLockStatusData contains information about lock held mode (ExclusiveLock, AccessShareLock, RowExclusiveLock and so on). pg_locks view reports all modes for the same object and pg_lock_s... push 17 Nov 2018 05:33PM UTC CyberDem0n travis-ci pending completion  
See All Builds (312)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc