Hello,
this patch fixes a segfault executing commands from the web interface using the
"Run Command" tab.
Tested with latest OpenOCD from SVN running on Ubuntu 9.04 with libmicrohttpd
0.4.0~pre1.
Greetings
Florian
--
The dream of yesterday Florian Boor
is the hope of today Tel: +49 271-771091-15
and the reality of tomorrow. Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904] [email protected]
http://www.kernelconcepts.de/en
Index: src/server/httpd.c
===================================================================
--- src/server/httpd.c (Revision 2600)
+++ src/server/httpd.c (Arbeitskopie)
@@ -223,7 +223,7 @@
/* 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;
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development