Commit 3955b65
Access xpathCtx properties after NULL-pointer verification is passed
Summary:
It is possible that _xmlXPathNewContext_ returns NULL in case of internal failure and then we'll have some hardcore crash as a result.
Closes facebookarchive#469
Differential Revision: D4474571
Pulled By: marekcirkos
fbshipit-source-id: 9edd09d81d3b0097d06f86deb807c011bfe65ead1 parent 04d1b34 commit 3955b65
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | 170 | | |
172 | 171 | | |
173 | 172 | | |
174 | 173 | | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
0 commit comments