Daniel-Constantin Mierla writes:

> Feel free to do it, however I think it has to be reviewed where is used, 
> though -- it should be safe even size in db is longer as long as the 
> insert is done by kamailio itself, not sure we have affected cases when 
> the insert is done by external apps, so better double check...

every module that reads data from db should check size of received
string so that it is not longer than space reserved for it in data
structures. i hope that no module assumes that received data cannot be
bigger than what db schema says.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to