U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » XmlRpc: possible crash fixed
XmlRpc: possible crash fixed [message #32033] Mon, 18 April 2011 13:53
zsolt is currently offline  zsolt
Messages: 702
Registered: December 2005
Location: Budapest, Hungary
Contributor
In ValueGetStruct_ function, value checking is missing. This is allowing the client to crash your server.

Adding the line
	ValueCheck(IsNull(v) || IsValueMap(v));

to the beginning of the function
template <class T>
void ValueGetStruct_(T& x, const Value& v)
at line 196 of XmlRpc.h eliminated the crashes of my server app.

[Updated on: Mon, 18 April 2011 13:54]

Report message to a moderator

 
Read Message
Previous Topic: Different native pthread.h implementations
Next Topic: Bug with socket
Goto Forum:
  


Current Time: Tue Apr 28 23:13:16 GMT+2 2026

Total time taken to generate the page: 0.00470 seconds