[binutils-gdb] rust: Fix null deref when casting (PR 23124)
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Tue May 1 08:01:00 GMT 2018
*** TEST RESULTS FOR COMMIT 1632f8baf04e7351f387e58957fc04498d90987d ***
Author: Dan Robertson <danlrobertson89@gmail.com>
Branch: master
Commit: 1632f8baf04e7351f387e58957fc04498d90987d
rust: Fix null deref when casting (PR 23124)
Fix a null dereference when casting a value to a unit type.
ChangeLog
2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
PR rust/23124
* gdb/rust-exp.y (convert_params_to_types): Ensure that the params
pointer is not null before dereferencing it.
testsuite/ChangeLog
2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
PR rust/23124
* gdb.rust/expr.exp: Test that the unit type is correctly parsed
when casting.
More information about the Gdb-testers
mailing list