Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920440

Summary: dev-db/libdbi-drivers-0.9.0-r3: installs empty directories installed to /var
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: CONFIRMED ---    
Severity: normal CC: qa, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=886611
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/log/portage/dev-db:libdbi-drivers-0.9.0-r2:20231221-033617.log
emerge --info

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-12-21 03:41:39 UTC
Created attachment 880105 [details]
/var/log/portage/dev-db:libdbi-drivers-0.9.0-r2:20231221-033617.log

* Messages for package dev-db/libdbi-drivers-0.9.0-r2:
 * Log file: /var/log/portage/dev-db:libdbi-drivers-0.9.0-r2:20231221-033617.log

 * CMP: =dev-db/libdbi-drivers-0.9.0-r1 with dev-db/libdbi-drivers-0.9.0-r2/image
 * ------> ABI(nodebug)
 * One or more empty directories installed to /var:
 * 
 *   /var/lib
 *   /var/lib/lib
 *   /var/lib/lib/libdbi
 *   /var/lib/lib/libdbi/firebird
 *   /var/lib/lib/libdbi/sqlite
 *   /var/lib/lib/libdbi/sqlite3
 * 
 * If those directories need to be preserved, please make sure to create
 * or mark them for keeping using 'keepdir'. Portage for >= EAPI 8 ebuilds
 * will strip empty directories from installation image.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-12-21 03:41:55 UTC
Created attachment 880106 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-06-12 02:01:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c52fc05c6b46b242e64eb746af429892b986d0a

commit 1c52fc05c6b46b242e64eb746af429892b986d0a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-06-12 01:57:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-12 01:57:18 +0000

    dev-db/libdbi-drivers: fix memory corruption issues w/ sqlite
    
    Backport some memory corruption fixes for sqlite3.
    
    Note that I haven't fixed bug #920440 - I have essentially no idea
    about this package and I'd really prefer someone investigate what
    it's even trying to do there.
    
    Bug: https://bugs.gentoo.org/920440
    Closes: https://bugs.gentoo.org/920460
    Closes: https://bugs.gentoo.org/933427
    Signed-off-by: Sam James <sam@gentoo.org>

 ...bdbi-drivers-0.9.0-buffer-overflow-sqlite.patch | 14 ++++
 .../files/libdbi-drivers-0.9.0-c99.patch           | 11 +++
 ...ibdbi-drivers-0.9.0-fortify-source-sqlite.patch | 13 ++++
 .../libdbi-drivers/libdbi-drivers-0.9.0-r3.ebuild  | 90 ++++++++++++++++++++++
 4 files changed, 128 insertions(+)
Comment 3 Agostino Sarubbo gentoo-dev 2024-06-12 06:45:45 UTC
ci has reproduced this issue with version 0.9.0-r3 - Updating summary.