Commit 1464fa9
authored
tests: replace the LDAP OSS-Fuzz testcase (#4530)
The original testcase triggers a separate issue on 32-bit machines:
#4527 and it should probably be
tested separately. The new testcase triggers the issue fixed in
1935723 only:
```sh
>>> assert l[0][LDAP].summary() == "LDAP"
Traceback (most recent call last):
File "<input>", line 2, in <module>
File "scapy/scapy/packet.py", line 1692, in summary
return self._do_summary()[1]
^^^^^^^^^^^^^^^^^^
File "scapy/scapy/packet.py", line 1669, in _do_summary
ret = self.mysummary()
^^^^^^^^^^^^^^^^
File "scapy/scapy/layers/ldap.py", line 736, in mysummary
self.messageID.val,
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'val'
```1 parent 45c216f commit 1464fa9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2339 | 2339 | | |
2340 | 2340 | | |
2341 | 2341 | | |
2342 | | - | |
| 2342 | + | |
2343 | 2343 | | |
2344 | 2344 | | |
2345 | 2345 | | |
| |||
0 commit comments