[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-53
From: |
Daniele Forsi |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-530-g62d87ba |
Date: |
Sun, 03 Nov 2013 16:05: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 "libgnokii and core programs".
The branch, master has been updated
via 62d87ba2c67fba4fafe95a71109d002606c42aaa (commit)
from 296e07de57a07c1a739e04b69cd8a783e390a45d (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=62d87ba2c67fba4fafe95a71109d002606c42aaa
commit 62d87ba2c67fba4fafe95a71109d002606c42aaa
Author: Daniele Forsi <address@hidden>
Date: Sun Nov 3 17:04:36 2013 +0100
Add "Invalid path" error for --putfile
diff --git a/common/phones/nk6510.c b/common/phones/nk6510.c
index de34aa2..f67cdf3 100644
--- a/common/phones/nk6510.c
+++ b/common/phones/nk6510.c
@@ -2677,7 +2677,12 @@ static gn_error NK6510_IncomingFile(int messagetype,
unsigned char *message, int
if (message[4] == 0x0d)
error = GN_ERR_WAITING;
break;
- case 0x73:
+ case 0x73: /* putfile */
+ if (message[4] == 0x06) {
+ dprintf("Invalid path\n");
+ error = GN_ERR_INVALIDLOCATION;
+ goto out;
+ }
if (data->file) {
int i;
if (message[4] == 0x0c) {
-----------------------------------------------------------------------
Summary of changes:
common/phones/nk6510.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
libgnokii and core programs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-530-g62d87ba,
Daniele Forsi <=