97b6be674a
Dear libupnp-devels,
when POST'ing to the simple web server in libupnp, the application crashes.
This is caused by a missing "..." argument in webserver.c:1533.
Seems it has been there for a long time ... 1.6.9 and 1.6.18 have it.
webserver.c:1533 calls http_MakeMessage
/* Send response. */
http_MakeMessage(&headers, 1, 1,
"RTLSXcCc",
ret, "text/html", X_USER_AGENT);
The format parameter RTLSXcCc needs four arguments -
R - response code - ret,
T- content type - text/html,
L - struct SendInstruction * - NOT PRESENT
X - user agent - X_USER_AGENT
This results in a crash.
Changing to
http_MakeMessage(&headers, 1, 1,
"RTLSXcCc",
ret, "text/html", &RespInstr, X_USER_AGENT);
solves the situation.
Yours,
Sebastian Brandt
(cherry picked from commit 25c27b8af7
)
73 lines
1.5 KiB
Plaintext
73 lines
1.5 KiB
Plaintext
|
|
libupnp was originally written by Intel Corporation.
|
|
|
|
Many people further contributed to libupnp by reporting problems,
|
|
suggesting various improvements or submitting actual code.
|
|
Here is a list of these people. Help us keep it complete and
|
|
exempt of errors.
|
|
|
|
- Alex (afaucher)
|
|
- Andre Sodermans (wienerschnitzel)
|
|
- Anoop Mohan (an00p)
|
|
- Anthony Viallard (homer242)
|
|
- Apostolos Syropoulos
|
|
- Arno Willig
|
|
- Bob Ciora
|
|
- Carlo Parata
|
|
- Carl Benson
|
|
- Chandra Penke (inactiveneurons)
|
|
- Chaos
|
|
- Charles Nepveu (cnepveu)
|
|
- Chris Pickel
|
|
- Chuck Thomason (cyt4)
|
|
- Craig Nelson
|
|
- David Blanchet
|
|
- David Maass
|
|
- Emil Ljungdahl
|
|
- Erik Johansson
|
|
- Eric Tanguy
|
|
- Erwan Velu
|
|
- Eugene Christensen
|
|
- Fabrice Fontaine (ffontaine)
|
|
- Fredrik Svensson
|
|
- Glen Masgai
|
|
- Gustavo Zacarias (gustavoz)
|
|
- Hartmut Holzgraefe (hholzgra)
|
|
- Iain Denniston (ectotropic)
|
|
- Ingo Hofmann
|
|
- Ivan Romanov (ivanromanov)
|
|
- Jiri Zouhar
|
|
- John Dennis
|
|
- Jonathan Casiot (no_dice)
|
|
- Josh Carroll
|
|
- Juergen Lock
|
|
- Keith Brindley
|
|
- Leuk_He
|
|
- Loigu
|
|
- Luke Kim (nereusuj)
|
|
- Marcelo Roberto Jimenez (mroberto)
|
|
- Markus Strobl
|
|
- Nektarios K. Papadopoulos (npapadop)
|
|
- Nicholas Kraft
|
|
- Nick Leverton (leveret)
|
|
- Obata Akio (obache)
|
|
- Oskar Liljeblad
|
|
- Michael (oxygenic)
|
|
- Paul Vixie
|
|
- Peter Hartley
|
|
- Rene Hexel
|
|
- Robert Gingher (robsbox)
|
|
- Ronan Menard
|
|
- Sebastian Brandt
|
|
- Siva Chandran
|
|
- Stefan Sommerfeld (zerocom)
|
|
- Stéphane Corthésy
|
|
- Steve Bresson
|
|
- Thijs Schreijer
|
|
- Timothy Redaelli
|
|
- Titus Winters
|
|
- Tom (tomdev2)
|
|
- Yoichi Nakayama (yoichi)
|
|
- zephyrus (zephyrus00jp)
|
|
|