Conflicting declarations of variable pinbuf
Brought to you by:
highlandsun
Hi,
While building your package using our research compiler infrastructure we noticed the following conflicting declarations:
./arcio.c:extern char *pinbuf; /* general purpose input buffer */
./arc.c:u_char *pinbuf, *pakbuf, *outbuf, *outend;
Interpreting the buffer both as signed and unsigned char will result in undefined behaviour.
Best,
Michael
The buffer is not used in arc.c, so there is no ambiguity in usage.