[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU gnutls branch, gnutls_3_0_x-2, updated. gnutls_3_0_21_real-7-g
From: |
Nikos Mavrogiannopoulos |
Subject: |
[SCM] GNU gnutls branch, gnutls_3_0_x-2, updated. gnutls_3_0_21_real-7-g4e3dde7 |
Date: |
Sat, 21 Jul 2012 17:11:42 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".
http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=4e3dde7d1324efc0f7db722e2f78fc9b5572a060
The branch, gnutls_3_0_x-2 has been updated
via 4e3dde7d1324efc0f7db722e2f78fc9b5572a060 (commit)
via a4d959ff0424a1b951955e0f12254bd903f0d2f7 (commit)
from 88f94e33f313b6b64ddc26d602b2344641a45a86 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4e3dde7d1324efc0f7db722e2f78fc9b5572a060
Author: Nikos Mavrogiannopoulos <address@hidden>
Date: Sat Jul 21 14:14:53 2012 +0200
use stack for file paths
commit a4d959ff0424a1b951955e0f12254bd903f0d2f7
Author: Nikos Mavrogiannopoulos <address@hidden>
Date: Sat Jul 21 19:00:57 2012 +0200
handle noindent
-----------------------------------------------------------------------
Summary of changes:
doc/scripts/mytexi2latex | 1 +
tests/openpgp-auth.c | 12 +++++++-----
tests/openpgp-auth2.c | 12 +++++++-----
3 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/doc/scripts/mytexi2latex b/doc/scripts/mytexi2latex
index 114e337..775f186 100755
--- a/doc/scripts/mytexi2latex
+++ b/doc/scripts/mytexi2latex
@@ -350,6 +350,7 @@ multitable:
$line =~
s/address@hidden($match+)\,($match+)\}/\\includegraphics\[width\=$2\]\{\.\.\/$1\}/g;
$line =~ s/address@hidden($spacematch+)\}/$1/g;
$line =~ s/address@hidden/\{\\bf /g;
+ $line =~ s/address@hidden//g;
$line =~ s/address@hidden//g;
$line =~ s/address@hidden (.*)/\% $1/g;
$line =~ s/address@hidden($mathmatch+)\}/\$$1\$/g;
diff --git a/tests/openpgp-auth.c b/tests/openpgp-auth.c
index 503519a..548d511 100644
--- a/tests/openpgp-auth.c
+++ b/tests/openpgp-auth.c
@@ -60,7 +60,7 @@ doit ()
int err, i;
int sockets[2];
const char *srcdir;
- char *pub_key_path, *priv_key_path;
+ char pub_key_path[512], priv_key_path[512];
pid_t child;
gnutls_global_init ();
@@ -87,12 +87,16 @@ doit ()
if (err != 0)
fail ("socketpair %s\n", strerror (errno));
- pub_key_path = malloc (strlen (srcdir) + strlen (pub_key_file) + 2);
+ if (sizeof(pub_key_path) < strlen (srcdir) + strlen (pub_key_file) + 2)
+ abort();
+
strcpy (pub_key_path, srcdir);
strcat (pub_key_path, "/");
strcat (pub_key_path, pub_key_file);
- priv_key_path = malloc (strlen (srcdir) + strlen (priv_key_file) + 2);
+ if (sizeof(priv_key_path) < strlen (srcdir) + strlen (priv_key_file) + 2)
+ abort();
+
strcpy (priv_key_path, srcdir);
strcat (priv_key_path, "/");
strcat (priv_key_path, priv_key_file);
@@ -267,8 +271,6 @@ doit ()
}
- free(pub_key_path);
- free(priv_key_path);
gnutls_global_deinit ();
}
#else
diff --git a/tests/openpgp-auth2.c b/tests/openpgp-auth2.c
index 8877df5..79a7ad9 100644
--- a/tests/openpgp-auth2.c
+++ b/tests/openpgp-auth2.c
@@ -69,7 +69,7 @@ doit ()
int err;
int sockets[2];
const char *srcdir;
- char *pub_key_path, *priv_key_path;
+ char pub_key_path[512], priv_key_path[512];
pid_t child;
gnutls_global_init ();
@@ -86,12 +86,16 @@ doit ()
if (err != 0)
fail ("socketpair %s\n", strerror (errno));
- pub_key_path = malloc (strlen (srcdir) + strlen (pub_key_file) + 2);
+ if (sizeof(pub_key_path) < strlen (srcdir) + strlen (pub_key_file) + 2)
+ abort();
+
strcpy (pub_key_path, srcdir);
strcat (pub_key_path, "/");
strcat (pub_key_path, pub_key_file);
- priv_key_path = malloc (strlen (srcdir) + strlen (priv_key_file) + 2);
+ if (sizeof(priv_key_path) < strlen (srcdir) + strlen (priv_key_file) + 2)
+ abort();
+
strcpy (priv_key_path, srcdir);
strcat (priv_key_path, "/");
strcat (priv_key_path, priv_key_file);
@@ -250,8 +254,6 @@ doit ()
fail ("child failed: %d\n", status);
}
- free(pub_key_path);
- free(priv_key_path);
gnutls_global_deinit ();
}
#else
hooks/post-receive
--
GNU gnutls
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU gnutls branch, gnutls_3_0_x-2, updated. gnutls_3_0_21_real-7-g4e3dde7,
Nikos Mavrogiannopoulos <=