| | 8 | * Bug Fix: Corrected a long time bug: if the number of unexpected requests |
| | 9 | defined in the config file is greater than 64, then the code inadvertently |
| | 10 | used invalid job_status_s addresses when calling |
| | 11 | server_post_unexpected_recv(). If a failure occurs, the error code in the |
| | 12 | status structure is updated with the error value. In this case, the code would |
| | 13 | NOT segfault, because the address is actually within valid address space on |
| | 14 | the heap; however, the code would be overwriting other global structures, like |
| | 15 | the known_method_table, etc. To correct this problem, I use a local |
| | 16 | job_status_s structure inside the server_post_unexpected_recv(). Please read |
| | 17 | the comments in that function to understand why this works. |
| | 18 | SVN: Change #9272 |