Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
7.5.7 : fix potential buffer overflow in path
Browse files Browse the repository at this point in the history
Signed-off-by: Ari Archer <[email protected]>
  • Loading branch information
Ari Archer committed May 2, 2023
1 parent 4f02795 commit b6766fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion baz
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[ "$BAZ_DEBUG" ] && set -x

export BAZ_VERSION='7.5.6'
export BAZ_VERSION='7.5.7'
export BAZ_DIR="$HOME/.local/share/baz"
export BAZ_CONFDIR="$HOME/.config/baz"
export BAZ_CONF="$BAZ_CONFDIR/config.env"
Expand Down
2 changes: 1 addition & 1 deletion loader/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ int main(int argc, const char **argv) {
static unsigned char stage_num;
static stage_t stage;

static char path[PATH_MAX];
static char path[PATH_MAX + 1];
static DIR *dp;
static struct dirent *ep;

Expand Down

0 comments on commit b6766fc

Please sign in to comment.