[krbdev.mit.edu #9273] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Fri Oct 30 18:50:15 EDT 2026


Fri Oct 30 18:50:15 2026: Request 9273 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9273 >



Fix memory leak in mpool_get() error paths

If mpool_get() fails after obtaining a bucket from mpool_bkt() (offset
overflow, lseek failure, or partial read), the bucket is not on any
queue and is leaked.  Free it and decrement curcache on these paths.

[ghudson at mit.edu: added cautionary comment to err label]

https://github.com/krb5/krb5/commit/8f4c88a8b1bdb007f3d84f1280e7edf89a575ca4
Author: Tigran Sogomonian <tsogomonian at astralinux.ru>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 8f4c88a8b1bdb007f3d84f1280e7edf89a575ca4
Branch: master
 src/plugins/kdb/db2/libdb2/mpool/mpool.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)



More information about the krb5-bugs mailing list