Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920440 - dev-db/libdbi-drivers-0.9.0-r3: installs empty directories installed to /var
Summary: dev-db/libdbi-drivers-0.9.0-r3: installs empty directories installed to /var
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-21 03:41 UTC by Michał Górny
Modified: 2024-06-12 06:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/dev-db:libdbi-drivers-0.9.0-r2:20231221-033617.log (dev-db:libdbi-drivers-0.9.0-r2:20231221-033617.log,34.36 KB, text/plain)
2023-12-21 03:41 UTC, Michał Górny
Details
emerge --info (emerge-info.txt,7.83 KB, text/plain)
2023-12-21 03:41 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
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.