This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/sys/sys/systm.h | |
+++ b/sys/sys/systm.h | |
@@ -369,7 +369,7 @@ void *memmove_early(void * _Nonnull dest, const void * _Nonnull src, size_t n); | |
__outlen = (outlen); \ | |
__r = strlcpy((dst), (src), __len); \ | |
if (__outlen != NULL) \ | |
- *__outlen = ((__r >= __len) ? __len : __r); \ | |
+ *__outlen = ((__r >= __len) ? __len : __r + 1); \ | |
((__r >= __len) ? ENAMETOOLONG : 0); \ | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bus_dmamap_sync+0x320 (?,?,?,?) ra ffffffff80638f4c sp 98000000008506a0 sz 32 | |
bus_dmamap_unload+0x334 (?,?,?,?) ra ffffffff80639728 sp 98000000008506c0 sz 32 | |
_bus_dmamap_load_buffer+0x190 (?,?,?,?) ra ffffffff8040eaf0 sp 98000000008506e0 | |
sz 96 | |
bus_dmamap_load+0xc8 (?,?,?,?) ra ffffffff801d941c sp 9800000000850740 sz 144 | |
ata_dmainit+0x23c (?,?,?,?) ra ffffffff801de0c4 sp 98000000008507d0 sz 96 | |
ata_pci_dmainit+0x24 (?,?,?,?) ra ffffffff801de6e0 sp 9800000000850830 sz 32 | |
ata_pci_ch_attach+0xd0 (?,?,?,?) ra ffffffff801e5c04 sp 9800000000850850 sz 80 | |
ata_pci_attach+0x5d64 (?,?,?,?) ra ffffffff801dd62c sp 98000000008508a0 sz 80 | |
ata_mode2idx+0x5fc (?,?,?,?) ra ffffffff8040bb20 sp 98000000008508f0 sz 48 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- exception, cause 0 badvaddr 2000 --- | |
_bus_dmamap_load_phys+0x3fc (?,?,?,?) ra ffffffff807bd714 sp 9800000000a07260 sz | |
64 | |
_bus_dmamap_load_buffer+0x94 (?,?,?,?) ra ffffffff80507b60 sp 9800000000a072a0 s | |
z 128 | |
bus_dmamap_load+0xb0 (?,?,?,?) ra ffffffff802a5884 sp 9800000000a07320 sz 112 | |
ata_dmainit+0x1ac (?,?,?,?) ra ffffffff802aaee4 sp 9800000000a07390 sz 128 | |
ata_pci_ch_attach+0xbc (?,?,?,?) ra ffffffff802b31f8 sp 9800000000a07410 sz 80 | |
ata_mode2idx+0x6210 (?,?,?,?) ra ffffffff802ad190 sp 9800000000a07460 sz 96 | |
ata_mode2idx+0x1a8 (?,?,?,?) ra ffffffff804fe564 sp 9800000000a074c0 sz 48 |