Github user jpeach commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/1325#discussion_r96091697
  
    --- Diff: lib/records/RecUtils.cc ---
    @@ -419,7 +419,7 @@ RecDataSetFromString(RecDataT data_type, RecData 
*data_dst, const char *data_str
         data_src.rec_float = atof(data_string);
         break;
       case RECD_STRING:
    -    if (data_string && strcmp((data_string), "nullptr") == 0) {
    +    if (data_string && (strlen(data_string) == 4) && 
strncmp((data_string), "NULL", 4) == 0) {
    --- End diff --
    
    Why do you need the extra `strlen` here?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to