| Summary: | [WebClient] Null pointer crash when User-Agent is not recognized | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | ||
| Version: | 2.2 | ||
| Target Milestone: | 2.2 RC1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Ralf Sternberg
Fixed in master with commit cdec2240546aa867dc6d4aede45150ab5f08f2a6. Initialize _engineName and _browserName with "unknown" instead of null. The idea of this bug was to make the client more robust in case of an unknown User-Agent string. This commit solves the exact crash described here, but when setting a custom User-Agent string (e.g. "funny browser") in the browser, the web client still crashes elsewhere (bug 422068). I agree that the commit is an improvement and we should keep it. However, as it does not solve the original problem, I think that backporting this change alone doesn't make sense. |