diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-21 06:22:01 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-21 06:22:01 +0000 |
commit | 8b73ec8d644920bfbdd1ca2d9e64a98207205e2e (patch) | |
tree | ff8dbe3b71ade4e6b6fe3f05fa83d16165eaf5c2 /src/server | |
parent | afae28fb2cfaa2da08311e9d17bf9c8057a2f399 (diff) | |
download | openocd+libswd-8b73ec8d644920bfbdd1ca2d9e64a98207205e2e.tar.gz openocd+libswd-8b73ec8d644920bfbdd1ca2d9e64a98207205e2e.tar.bz2 openocd+libswd-8b73ec8d644920bfbdd1ca2d9e64a98207205e2e.tar.xz openocd+libswd-8b73ec8d644920bfbdd1ca2d9e64a98207205e2e.zip |
Florian Boor <florian.boor@kernelconcepts.de> fixes a segfault executing commands from the web interface using the
"Run Command" tab.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2601 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/httpd.c b/src/server/httpd.c index 6733502d..37c16b93 100644 --- a/src/server/httpd.c +++ b/src/server/httpd.c @@ -223,7 +223,7 @@ static void append_key(struct httpd_request *r, const char *key, /* append data to each key */ static int iterate_post(void *con_cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, - const char *transfer_encoding, const char *data, uint64_t off, + const char *transfer_encoding, const char *data, size_t off, size_t size) { struct httpd_request *r = (struct httpd_request*) con_cls; |