Skip to content

S3 creating archive panics with empty folder #77

Description

@JusSergey

Bug description

It panics if I pass empty folder to create an archive

The application panicked (crashed).
Message:  attempt to subtract with overflow
Location: /home/core/.cargo/registry/src/github.com-1ecc6299db9ec823/ssstar-0.3.0/src/objstore/s3.rs:940

Environment

core@core-MSI:/media/core/kingston-luks/ssstar$ cat /etc/upstream-release/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu Jammy Jellyfish"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions