Skip to content

Commit

Permalink
Merge pull request gridcf#205 from ellert/buffer-overflow
Browse files Browse the repository at this point in the history
Fix buffer overflow in test
  • Loading branch information
ellert authored Nov 28, 2022
2 parents aed61cc + 2542ba1 commit 50fc40b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gridftp/server/src/configure.ac
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AC_PREREQ([2.60])

AC_INIT([globus_gridftp_server],[13.24],[https://github.com/gridcf/gct/issues])
AC_INIT([globus_gridftp_server],[13.25],[https://github.com/gridcf/gct/issues])
AC_CONFIG_MACRO_DIR([m4])
AC_SUBST([MAJOR_VERSION], [${PACKAGE_VERSION%%.*}])
AC_SUBST([MINOR_VERSION], [${PACKAGE_VERSION##*.}])
Expand Down
2 changes: 1 addition & 1 deletion gridftp/server/src/test/cmp_alias_ent_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ int main()
{ .alias = "hell", .alias_len = 4 },
{ .alias = (char[]){(char)-1, (char)0 }, .alias_len = 1 },
{ .alias = "hell?", .alias_len = 5 },
{ .alias = "hell[o]", .alias_len = 5 }
{ .alias = "hell[o]", .alias_len = 7 }
};
test_t tests[] =
{
Expand Down
6 changes: 6 additions & 0 deletions packaging/debian/globus-gridftp-server/debian/changelog.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
globus-gridftp-server (13.25-1+gct.@distro@) @distro@; urgency=medium

* Fix buffer overflow in test

-- Mattias Ellert <mattias.ellert@physics.uu.se> Mon, 28 Nov 2022 06:44:38 +0100

globus-gridftp-server (13.24-1+gct.@distro@) @distro@; urgency=medium

* Fix some compiler warnings
Expand Down
5 changes: 4 additions & 1 deletion packaging/fedora/globus-gridftp-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Name: globus-gridftp-server
%global soname 6
%global _name %(echo %{name} | tr - _)
Version: 13.24
Version: 13.25
Release: 1%{?dist}
Summary: Grid Community Toolkit - Globus GridFTP Server

Expand Down Expand Up @@ -223,6 +223,9 @@ fi
%{_libdir}/pkgconfig/%{name}.pc

%changelog
* Mon Nov 28 2022 Mattias Ellert <mattias.ellert@physics.uu.se> - 13.25-1
- Fix buffer overflow in test

* Thu Mar 10 2022 Mattias Ellert <mattias.ellert@physics.uu.se> - 13.24-1
- Fix some compiler warnings
- Fix unbalanced mutex lock/unlock
Expand Down

0 comments on commit 50fc40b

Please sign in to comment.