| 324 | } |
| 325 | |
| 326 | static bool IsAcceptableSessionName(std::string_view str) |
| 327 | { |
| 328 | auto itr = str.begin(); |
| 329 | while(itr != str.end()) |
| 330 | { |
| 331 | char ch = *itr; |
| 332 | ++itr; |
| 333 | if (ch == '<' || ch == '>' || ch == '"' || ch == '\'' || ch == '/') |
| 334 | return false; |
| 335 | } |
| 336 | return true; |
| 337 | } |
| 338 | |
| 339 | void SAMSocket::ProcessSessionCreate (std::string_view buf) |
| 340 | { |
no outgoing calls
no test coverage detected