[jira] [Updated] (TS-4871) CID 1362796: Integer handling issues (NEGATIVE_RETURNS) in statistics plugin

2016-09-16 Thread Bryan Call (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Call updated TS-4871:
---
Fix Version/s: (was: 7.1.0)
   7.0.0

> CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS) in statistics plugin
> --
>
> Key: TS-4871
> URL: https://issues.apache.org/jira/browse/TS-4871
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Plugins
>Reporter: Leif Hedstrom
>Assignee: James Peach
>  Labels: coverity
> Fix For: 7.0.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code}
> *** CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
> /example/statistic/statistic.cc: 50 in TSPluginInit()
> 44 
> 45   int id;
> 46   const char name[] = "example.statistic.now";
> 47 
> 48   if (TSStatFindName(name, ) == TS_ERROR) {
> 49 id = TSStatCreate(name, TS_RECORDDATATYPE_INT, 
> TS_STAT_NON_PERSISTENT, TS_STAT_SYNC_SUM);
>CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
>Variable "id" tests negative.
> 50 if (id == TS_ERROR) {
> 51   TSError("%s: failed to register '%s'", PLUGIN_NAME, name);
> 52 }
> 53   }
> 54 
> 55   TSError("%s: %s registered with id %d", PLUGIN_NAME, name, id);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-4871) CID 1362796: Integer handling issues (NEGATIVE_RETURNS) in statistics plugin

2016-09-16 Thread Bryan Call (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Call updated TS-4871:
---
Backport to Version:   (was: 7.0.0)

> CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS) in statistics plugin
> --
>
> Key: TS-4871
> URL: https://issues.apache.org/jira/browse/TS-4871
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Plugins
>Reporter: Leif Hedstrom
>Assignee: James Peach
>  Labels: coverity
> Fix For: 7.0.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code}
> *** CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
> /example/statistic/statistic.cc: 50 in TSPluginInit()
> 44 
> 45   int id;
> 46   const char name[] = "example.statistic.now";
> 47 
> 48   if (TSStatFindName(name, ) == TS_ERROR) {
> 49 id = TSStatCreate(name, TS_RECORDDATATYPE_INT, 
> TS_STAT_NON_PERSISTENT, TS_STAT_SYNC_SUM);
>CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
>Variable "id" tests negative.
> 50 if (id == TS_ERROR) {
> 51   TSError("%s: failed to register '%s'", PLUGIN_NAME, name);
> 52 }
> 53   }
> 54 
> 55   TSError("%s: %s registered with id %d", PLUGIN_NAME, name, id);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-4871) CID 1362796: Integer handling issues (NEGATIVE_RETURNS) in statistics plugin

2016-09-15 Thread James Peach (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Peach updated TS-4871:

Fix Version/s: (was: 7.0.0)
   7.1.0

> CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS) in statistics plugin
> --
>
> Key: TS-4871
> URL: https://issues.apache.org/jira/browse/TS-4871
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Plugins
>Reporter: Leif Hedstrom
>Assignee: James Peach
>  Labels: coverity
> Fix For: 7.1.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code}
> *** CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
> /example/statistic/statistic.cc: 50 in TSPluginInit()
> 44 
> 45   int id;
> 46   const char name[] = "example.statistic.now";
> 47 
> 48   if (TSStatFindName(name, ) == TS_ERROR) {
> 49 id = TSStatCreate(name, TS_RECORDDATATYPE_INT, 
> TS_STAT_NON_PERSISTENT, TS_STAT_SYNC_SUM);
>CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
>Variable "id" tests negative.
> 50 if (id == TS_ERROR) {
> 51   TSError("%s: failed to register '%s'", PLUGIN_NAME, name);
> 52 }
> 53   }
> 54 
> 55   TSError("%s: %s registered with id %d", PLUGIN_NAME, name, id);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-4871) CID 1362796: Integer handling issues (NEGATIVE_RETURNS) in statistics plugin

2016-09-15 Thread James Peach (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Peach updated TS-4871:

Backport to Version: 7.0.0

> CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS) in statistics plugin
> --
>
> Key: TS-4871
> URL: https://issues.apache.org/jira/browse/TS-4871
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Plugins
>Reporter: Leif Hedstrom
>Assignee: James Peach
>  Labels: coverity
> Fix For: 7.1.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code}
> *** CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
> /example/statistic/statistic.cc: 50 in TSPluginInit()
> 44 
> 45   int id;
> 46   const char name[] = "example.statistic.now";
> 47 
> 48   if (TSStatFindName(name, ) == TS_ERROR) {
> 49 id = TSStatCreate(name, TS_RECORDDATATYPE_INT, 
> TS_STAT_NON_PERSISTENT, TS_STAT_SYNC_SUM);
>CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
>Variable "id" tests negative.
> 50 if (id == TS_ERROR) {
> 51   TSError("%s: failed to register '%s'", PLUGIN_NAME, name);
> 52 }
> 53   }
> 54 
> 55   TSError("%s: %s registered with id %d", PLUGIN_NAME, name, id);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-4871) CID 1362796: Integer handling issues (NEGATIVE_RETURNS) in statistics plugin

2016-09-15 Thread Leif Hedstrom (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-4871:
--
Assignee: James Peach

> CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS) in statistics plugin
> --
>
> Key: TS-4871
> URL: https://issues.apache.org/jira/browse/TS-4871
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Plugins
>Reporter: Leif Hedstrom
>Assignee: James Peach
>  Labels: coverity
> Fix For: 7.0.0
>
>
> {code}
> *** CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
> /example/statistic/statistic.cc: 50 in TSPluginInit()
> 44 
> 45   int id;
> 46   const char name[] = "example.statistic.now";
> 47 
> 48   if (TSStatFindName(name, ) == TS_ERROR) {
> 49 id = TSStatCreate(name, TS_RECORDDATATYPE_INT, 
> TS_STAT_NON_PERSISTENT, TS_STAT_SYNC_SUM);
>CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
>Variable "id" tests negative.
> 50 if (id == TS_ERROR) {
> 51   TSError("%s: failed to register '%s'", PLUGIN_NAME, name);
> 52 }
> 53   }
> 54 
> 55   TSError("%s: %s registered with id %d", PLUGIN_NAME, name, id);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-4871) CID 1362796: Integer handling issues (NEGATIVE_RETURNS) in statistics plugin

2016-09-15 Thread Leif Hedstrom (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-4871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-4871:
--
   Labels: coverity  (was: )
Fix Version/s: 7.0.0

> CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS) in statistics plugin
> --
>
> Key: TS-4871
> URL: https://issues.apache.org/jira/browse/TS-4871
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Plugins
>Reporter: Leif Hedstrom
>  Labels: coverity
> Fix For: 7.0.0
>
>
> {code}
> *** CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
> /example/statistic/statistic.cc: 50 in TSPluginInit()
> 44 
> 45   int id;
> 46   const char name[] = "example.statistic.now";
> 47 
> 48   if (TSStatFindName(name, ) == TS_ERROR) {
> 49 id = TSStatCreate(name, TS_RECORDDATATYPE_INT, 
> TS_STAT_NON_PERSISTENT, TS_STAT_SYNC_SUM);
>CID 1362796:  Integer handling issues  (NEGATIVE_RETURNS)
>Variable "id" tests negative.
> 50 if (id == TS_ERROR) {
> 51   TSError("%s: failed to register '%s'", PLUGIN_NAME, name);
> 52 }
> 53   }
> 54 
> 55   TSError("%s: %s registered with id %d", PLUGIN_NAME, name, id);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)