tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Memory leak in sys/external/bsd/ipf/netinet/ip_fil_netbsd.c:ipf_send_ip()?
Just add it after the default label
default:
+ printf("XXX fin->fin_v = %d\n", fin->fin_v);
+ FREE_MB_T(m);
return EINVAL;
On Tue, 10 May 2022, Edgar Fuß wrote:
you could also add a printf() to see if this code path is used.
I'm not familiar with where in kernel code you can add printf()s.
!DSPAM:627aac8434462126115555!
+--------------------+--------------------------+----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost |
| & Network Engineer | | pgoyette99%gmail.com@localhost |
+--------------------+--------------------------+----------------------+
Home |
Main Index |
Thread Index |
Old Index