Skip to content

[fdborch]: Fix 'double free' bug in fdb event handler#525

Merged
lguohan merged 1 commit intosonic-net:masterfrom
pavel-shirshov:pavelsh/fdb_fix
Jun 22, 2018
Merged

[fdborch]: Fix 'double free' bug in fdb event handler#525
lguohan merged 1 commit intosonic-net:masterfrom
pavel-shirshov:pavelsh/fdb_fix

Conversation

@pavel-shirshov
Copy link
Contributor

What I did
Fix a bug which could cause to free the same memory twice.

Why I did it
To fix a segmentation fault in case we got 'count' variable greater than 1.

How I verified it
Build and run on DUT.

Details if related

@pavel-shirshov
Copy link
Contributor Author

Thanks to @volodymyrsamotiy and @stepanblyschak for the report.

@lguohan lguohan merged commit 27b29e3 into sonic-net:master Jun 22, 2018
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
)

* Generate interface table to have an entry designated to default VRF

* config ip updated to have default interface table entry

* Addressed review comments, new function added for readability
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
…ute_enum_values_capability (sonic-net#525)

* [sai_redis_interface_query] Add sairedis support for sai_query_attribute_enum_values_capability
* Add sai_query_attribute_enum_values_capability to libsairedis
* Add handler for sai_query_attribute_enum_values_capability to syncd
* Add sai_query_attribute_enum_values_capability implementation to virtual switch

Signed-off-by: Danny Allen <daall@microsoft.com>
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
jianyuewu pushed a commit to jianyuewu/sonic-swss that referenced this pull request Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants