Skip to content

psp-pacman -Qi causes a buffer overflow #37

@Nightwolf-47

Description

@Nightwolf-47

When I type psp-pacman -Qi followed by any valid package name, the program doesn't work and the terminal shows that a buffer overflow was detected.
I use the newest Ubuntu PSPDEV release package (v20251001) installed on WSL. This bug causes the psp-create-license-directory script to not work correctly.

Example command:

psp-pacman -Qi sdl2

Program output:

*** buffer overflow detected ***: terminated
/home/invictissimi/pspdev/bin/psp-pacman: line 33: 85962 Aborted                 (core dumped) pacman --root "${PSPDEV}" --dbpath "${PSPDEV}/var/lib/pacman" --config "${PSPDEV}/etc/pacman.conf" --cachedir "${PSPDEV}/var/cache/pacman/pkg" --gpgdir "${PSPDEV}/etc/pacman.d/gnupg/" --logfile "${PSPDEV}/var/log/pacman.log" --hookdir "${PSPDEV}/share/libalpm/hooks" --hookdir "${PSPDEV}/etc/pacman.d/hooks" "$@"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions