Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix build problem on 5-current. | motoyuki | 2002-04-11 | 1 | -0/+11 |
| | | | | | <machine/soundcard.h> is moved to <sys/soundcard.h> on both 4-stable and 5-current. See commitlog of src/include/Makefile rev 1.165. | ||||
* | Add a couple of fixes for compiler warnings from PR 23755, which also | ken | 2001-02-08 | 1 | -1/+54 |
| | | | | | | | addresses the core dump problem I fixed in the last version of this patch. PR: ports/23755 Submitted by: Kentaro Inagaki <inagaki@tg.rim.or.jp> | ||||
* | Fix a core dump when doing 'tosha -i'. (Maintainer timeout after about two | ken | 2001-02-08 | 1 | -0/+23 |
months.) The problem is in resolve_extension(). strncpy() will only null-terminate the destination string if it has enough room, according to the given length. In this implementation, there will never be enough room to null-terminate the string, from what I can tell. So if the memory in 'tmpstr' contains non-nulls, you'll get a core-dump in the subsequent strcat(). |