Add a null check to NetUtil. sysctlGetInt(...) (#10027)
Add a null check to NetUtil. sysctlGetInt(...) (#10027)

Motivation:

BufferedReader.readLine() may return null and cause a NPE.

Modification:

Simply add a null check.

Result:

If BufferedReader.readLine() returns null, the sysctlGetInt will just return null rather than cause NPE.
NiteshKant/netty,johnou/netty,artgon/netty,zer0se7en/netty,doom369/netty,netty/netty,artgon/netty,NiteshKant/netty,johnou/netty,Spikhalskiy/netty,Spikhalskiy/netty,ejona86/netty,Spikhalskiy/netty,NiteshKant/netty,Spikhalskiy/netty,ejona86/netty,fenik17/netty,artgon/netty,zer0se7en/netty,johnou/netty,netty/netty,fenik17/netty,andsel/netty,doom369/netty,doom369/netty,Spikhalskiy/netty,tbrooks8/netty,fenik17/netty,NiteshKant/netty,zer0se7en/netty,zer0se7en/netty,doom369/netty,tbrooks8/netty,fenik17/netty,tbrooks8/netty,netty/netty,ejona86/netty,johnou/netty,doom369/netty,artgon/netty,tbrooks8/netty,andsel/netty,andsel/netty,ejona86/netty,fenik17/netty,johnou/netty,andsel/netty,zer0se7en/netty,NiteshKant/netty,netty/netty,artgon/netty,tbrooks8/netty,andsel/netty,ejona86/netty,netty/netty