mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
android: Fix null pointer dereference with existing profiles
This commit is contained in:
parent
64c2d3ca3e
commit
ebf369c483
@ -284,7 +284,7 @@ public class VpnProfile implements Cloneable
|
||||
|
||||
public Integer getFlags()
|
||||
{
|
||||
return mFlags;
|
||||
return mFlags == null ? 0 : mFlags;
|
||||
}
|
||||
|
||||
public void setFlags(Integer flags)
|
||||
|
Loading…
x
Reference in New Issue
Block a user