Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern

Taylor R Campbell wrote:
> This shouldn't be necessary: snprintf guarantees null termination.
> Did you observe a pool name without null termination in pool_init in
> the wild?

I misremembered how snprintf works then. I didn't observe it in the wild
but some dtrace code uses long vmem names ("dtrace_aggid_%d").


Home | Main Index | Thread Index | Old Index