Fixed a missing HandleUnlock() in upnp/src/gena/gena_device.c plus several
white space changes. git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@464 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
parent
c9484d4f20
commit
cd6d5822fb
91
ChangeLog
91
ChangeLog
@ -14,11 +14,6 @@ Version 1.8.0
|
||||
Undoing the patch that fixed this problem. In fact, there was no
|
||||
problem and the patch was wrong.
|
||||
|
||||
2008-06-11 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Fixed a buffer overflow due to a bug in the calculation of the
|
||||
CONTENT-TYPE header line size, the length was beeing calculated with
|
||||
the wrong string, there was a missing colon.
|
||||
|
||||
2008-06-11 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Ingo Hofmann's patch for "Content-Type in Subscription responses".
|
||||
Adds charset="utf-8" attribute to the CONTENT-TYPE header line.
|
||||
@ -104,6 +99,53 @@ Version 1.8.0
|
||||
* Charles Nepveu's suggestion of not allocating a thread for
|
||||
MiniServer when it is not compiled.
|
||||
|
||||
2008-05-24 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Ported Peter Hartley's patch to compile with mingw.
|
||||
|
||||
2008-05-24 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Added some debug capability to ixml.
|
||||
|
||||
2008-05-02 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Merged Charles Nepveu's IPv6 work. libupnp now is IPv6 enabled.
|
||||
|
||||
2008-02-06 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Breaking API so that we now hide internal data structures.
|
||||
|
||||
2008-02-06 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Rewrote Peter Hartley's patch to include a new extra header field in
|
||||
FileInfo.
|
||||
|
||||
*******************************************************************************
|
||||
Version 1.6.7
|
||||
*******************************************************************************
|
||||
|
||||
2008-07-25 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Fixed a missing HandleUnlock() in upnp/src/gena/gena_device.c.
|
||||
|
||||
2008-07-24 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* SF Bug Tracker [ 2026431 ] pupnp does not build on GNU/KfreeBSD.
|
||||
Submitted By: Nick Leverton - leveret
|
||||
Gnu/KFreeBSD is one of the Debian architectures, it includes a FreeBSD
|
||||
kernel with GNU userspace (glibc etc). The Gnu/KfreeBSD developers
|
||||
provided the attached patch to test the appropriate #define and allow pupnp
|
||||
to build in their environment, and asked me to forward it to you.
|
||||
|
||||
Since the test is a simple check for defined(__GLIBC__), this would
|
||||
presumably also help with other ports of GNU libc to non-Linux kernels.
|
||||
|
||||
2008-07-16 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Andre Sodermans (wienerschnitzel) patch for building libupnp under
|
||||
windows systems with VC9. This one fixes a missing include.
|
||||
|
||||
2008-06-30 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Added an m4 macro to deal with finding libupnp in the users'
|
||||
configure script.
|
||||
|
||||
2008-06-11 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Fixed a buffer overflow due to a bug in the calculation of the
|
||||
CONTENT-TYPE header line size, the length was beeing calculated with
|
||||
the wrong string, there was a missing colon.
|
||||
|
||||
2008-05-26 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* SF Bug Tracker [ 1903069 ]
|
||||
Subs (not services) not marked 'active'
|
||||
@ -146,45 +188,6 @@ Version 1.8.0
|
||||
|
||||
This has solved my problem.
|
||||
|
||||
2008-05-24 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Ported Peter Hartley's patch to compile with mingw.
|
||||
|
||||
2008-05-24 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Added some debug capability to ixml.
|
||||
|
||||
2008-05-02 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Merged Charles Nepveu's IPv6 work. libupnp now is IPv6 enabled.
|
||||
|
||||
2008-02-06 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Breaking API so that we now hide internal data structures.
|
||||
|
||||
2008-02-06 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Rewrote Peter Hartley's patch to include a new extra header field in
|
||||
FileInfo.
|
||||
|
||||
*******************************************************************************
|
||||
Version 1.6.7
|
||||
*******************************************************************************
|
||||
|
||||
2008-07-24 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* SF Bug Tracker [ 2026431 ] pupnp does not build on GNU/KfreeBSD.
|
||||
Submitted By: Nick Leverton - leveret
|
||||
Gnu/KFreeBSD is one of the Debian architectures, it includes a FreeBSD
|
||||
kernel with GNU userspace (glibc etc). The Gnu/KfreeBSD developers
|
||||
provided the attached patch to test the appropriate #define and allow pupnp
|
||||
to build in their environment, and asked me to forward it to you.
|
||||
|
||||
Since the test is a simple check for defined(__GLIBC__), this would
|
||||
presumably also help with other ports of GNU libc to non-Linux kernels.
|
||||
|
||||
2008-07-16 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Andre Sodermans (wienerschnitzel) patch for building libupnp under
|
||||
windows systems with VC9. This one fixes a missing include.
|
||||
|
||||
2008-06-30 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Added an m4 macro to deal with finding libupnp in the users'
|
||||
configure script.
|
||||
|
||||
2008-04-28 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
|
||||
* Fix in function SetSeed() in threadutil/src/ThreadPool.c for CYGWIN
|
||||
compilation. Thanks to Gary Chan.
|
||||
|
@ -38,8 +38,9 @@ libixml_la_SOURCES = \
|
||||
src/nodeList.c
|
||||
|
||||
upnpincludedir = $(includedir)/upnp
|
||||
upnpinclude_HEADERS = inc/ixml.h \
|
||||
inc/ixmldebug.h
|
||||
upnpinclude_HEADERS = \
|
||||
inc/ixml.h \
|
||||
inc/ixmldebug.h
|
||||
|
||||
check_PROGRAMS = test_document
|
||||
TESTS = test/test_document.sh
|
||||
|
@ -476,7 +476,7 @@ int genaUnSubscribe(
|
||||
exit_function:
|
||||
UpnpClientSubscription_delete(sub_copy);
|
||||
return return_code;
|
||||
}
|
||||
}
|
||||
#endif /* INCLUDE_CLIENT_APIS */
|
||||
|
||||
|
||||
|
@ -502,7 +502,7 @@ int genaInitNotify(
|
||||
}
|
||||
|
||||
servId_copy = (char *)malloc(strlen(servId) + 1);
|
||||
if( servId_copy == NULL ) {
|
||||
if (servId_copy == NULL) {
|
||||
line = __LINE__;
|
||||
ret = UPNP_E_OUTOF_MEMORY;
|
||||
goto ExitFunction;
|
||||
@ -911,7 +911,7 @@ int genaNotifyAll(
|
||||
char *servId,
|
||||
char **VarNames,
|
||||
char **VarValues,
|
||||
int var_count )
|
||||
int var_count)
|
||||
{
|
||||
int ret = GENA_SUCCESS;
|
||||
int line = 0;
|
||||
@ -1413,6 +1413,7 @@ void gena_process_subscription_renewal_request(
|
||||
&device_handle, &handle_info ) != HND_DEVICE ) {
|
||||
error_respond( info, HTTP_PRECONDITION_FAILED, request );
|
||||
membuffer_destroy( &event_url_path );
|
||||
HandleUnlock();
|
||||
return;
|
||||
}
|
||||
service = FindServiceEventURLPath( &handle_info->ServiceTable,
|
||||
|
@ -1,33 +1,34 @@
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (c) 2000-2003 Intel Corporation
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are met:
|
||||
//
|
||||
// * Redistributions of source code must retain the above copyright notice,
|
||||
// this list of conditions and the following disclaimer.
|
||||
// * Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
// * Neither name of Intel Corporation nor the names of its contributors
|
||||
// may be used to endorse or promote products derived from this software
|
||||
// without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR
|
||||
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
||||
// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Copyright (c) 2000-2003 Intel Corporation
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
* - Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
* - Neither name of Intel Corporation nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
||||
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
/************************************************************************
|
||||
* Purpose: This file defines the functions for services. It defines
|
||||
|
@ -30,8 +30,8 @@
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
#ifndef SERVICE_TABLE
|
||||
#define SERVICE_TABLE
|
||||
#ifndef SERVICE_TABLE_H
|
||||
#define SERVICE_TABLE_H
|
||||
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user