-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The new instance of QEMU executed on the behalf of the forked process tries to run gdbserver on the same port as its parent. #2
Comments
For the record, here is how to reproduce the problem:
|
The following solution works with QEMU 1.0 and later only. First, ask
Then, set this variable to the expected port number right before
It works because QEMU 1.0+ handles options passed through environment |
…ixed-size buffer. >>> CID 1047028 (#2 of 3): Copy into fixed size buffer (STRING_OVERFLOW) >>> 19. fixed_size_dest: You might overrun the 4096 byte fixed-size >>> string "scratch_path" by copying "guest_path" without checking the >>> length. >>> 20. parameter_as_source: Note: This defect has an elevated risk >>> because the source argument is a parameter of the current >>> function. 258 strcpy(scratch_path, guest_path);
…ed-size buffer. >>> CID 1047027 (#1 of 2): Copy into fixed size buffer (STRING_OVERFLOW) >>> 15. fixed_size_dest: You might overrun the 4096 byte fixed-size >>> string "binding->host.path" by copying "tracee->glue" without >>> checking the length. >>> 16. parameter_as_source: Note: This defect has an elevated risk >>> because the source argument is a parameter of the current >>> function. 158 strcpy(binding->host.path, tracee->glue); >>> CID 1047027 (#2 of 2): Copy into fixed size buffer (STRING_OVERFLOW) 159 strcpy(binding->guest.path, guest_path);
Details: https://groups.google.com/forum/?fromgroups#!topic/proot_me/ev2rS7kma30
The text was updated successfully, but these errors were encountered: