running "pcomm" on Sys V/AT

Chad R. Larson chad at anasaz.UUCP
Tue Sep 20 17:09:34 AEST 1988


In article <633 at wa3wbu.UUCP> john at wa3wbu.UUCP (John Gayman) writes:
>
>    Has anyone been successfull in compiling and running the recently
>posted "pcomm" communications software under Sys V/AT ?  I have no
>trouble getting it to compile without errors but it always "core dumps"
>when I try anything to use the modem or exit.

There was a simple bug in line 216 of file port.c that resulted in 
dereferencing a NULL pointer.  I e-mailed the fix to the author, I
guess I should have posted it too, but I thought a bunch of other
folks would.   The line should read:

  if (lock_path != NULL && *lock_path != NULL) {

The shipped code checks what lock_path points to *before* checking
it for NULL.

No Charge!	-crl
---------------
"I read the news today, oh boy!"  --John Lennon
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| DCF, Inc.               | UUCP: ...ncar!noao!nud!anasaz!dcfinc!chad   |
| 14623 North 49th Place  | Ma Bell: (602) 953-1392                     |
| Scottsdale, AZ 85254    | Loran: N-33deg37min20sec W-111deg58min26sec |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|         Disclaimer: These ARE the opinions of my employer!            |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the Comp.unix.microport mailing list